引入vconsole
This commit is contained in:
@@ -31,6 +31,15 @@
|
|||||||
|
|
||||||
<title>flutter_monisuo</title>
|
<title>flutter_monisuo</title>
|
||||||
<link rel="manifest" href="manifest.json">
|
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
Reference in New Issue
Block a user