From c7ec2fc769d64eecf04d1f2786c07e40ac945d0b Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 01 七月 2025 14:57:47 +0800
Subject: [PATCH] Merge branches 'master' and 'master' of http://dh.leon056.com:7499/r/data2/Single_application into ID1743-副屏添加医嘱
---
src/main.ts | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main.ts b/src/main.ts
index 7bc77dd..9a03e28 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -3,7 +3,15 @@
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