From ee5b13374c7901389b4670aab04e98e61bd67535 Mon Sep 17 00:00:00 2001 From: liguigong Date: Fri, 12 Sep 2025 10:45:51 +0800 Subject: [PATCH] =?UTF-8?q?dev:=20=E5=9C=A8=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=BC=95=E5=85=A5=20vconsole=20=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 H5 环境下,解除了对 vconsole 的注释,允许在开发过程中使用 vconsole 进行调试。 --- sheep/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sheep/index.js b/sheep/index.js index c135334..d484e84 100644 --- a/sheep/index.js +++ b/sheep/index.js @@ -41,9 +41,9 @@ export async function ShoproInit() { function ShoproDebug() { // 开发环境引入vconsole调试 // #ifdef H5 - // import("vconsole").then(vconsole => { - // new vconsole.default(); - // }); + import("vconsole").then(vconsole => { + new vconsole.default(); + }); // #endif // 同步前端页面到后端 // console.log(ROUTES)