引入vconsole

This commit is contained in:
2026-03-23 11:38:06 +08:00
parent 0f2f051670
commit fb09dd6c42

View File

@@ -31,6 +31,15 @@
<title>flutter_monisuo</title>
<link rel="manifest" href="manifest.json">
<!-- vConsole 调试控制台 -->
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script>
// 通过 URL 参数 ?debug=true 启用 vConsole
if (new URLSearchParams(window.location.search).get('debug') === 'true') {
new VConsole();
}
</script>
</head>
<body>
<!--