From c8ce479f43820be206b1363799ea074a1c7bdd14 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 08 七月 2025 13:28:29 +0800
Subject: [PATCH] ID1825-暂存

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

diff --git a/src/main.ts b/src/main.ts
index 7bc77dd..960ccbc 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,9 +1,18 @@
+import 'amfe-flexible';
 import { createApp } from 'vue'
 import ElementPlus from 'element-plus'
 import 'element-plus/dist/index.css'   
 import Vant from 'vant'
 import 'vant/lib/index.css' 
+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