From 6a2cf98997c9cca25aeb74ce80c694f2af6a2ad0 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期三, 02 七月 2025 09:52:26 +0800
Subject: [PATCH] ID1743-修复bug

---
 src/main.ts |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index 1f71edf..9a03e28 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -6,5 +6,12 @@
 import './style.css'
 import router from './router';
 import App from './App.vue'
+import VConsole from 'vconsole'
+
+if (import.meta.env.VITE_ENV === 'development') {
+// 如果需要在手机平板上打开控制台,安装一个这个
+    const vConsole = new VConsole()
+}
+
 
 createApp(App).use(router).use(ElementPlus).use(Vant).mount('#app')

--
Gitblit v1.8.0