From 60d39176a0504333b2689539a29755a58c8fd0ce Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期三, 10 九月 2025 13:56:35 +0800
Subject: [PATCH] Merge branch 'ID2085-透析中添加处方脱水量' into test
---
src/main.ts | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main.ts b/src/main.ts
index 960ccbc..267b11f 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -8,11 +8,14 @@
import router from './router';
import App from './App.vue'
import VConsole from 'vconsole'
-
+import { createPinia } from 'pinia'
+import '@/assets/css/iconfont.css'
if (import.meta.env.VITE_ENV === 'development') {
// 如果需要在手机平板上打开控制台,安装一个这个
const vConsole = new VConsole()
}
+const pinia = createPinia()
+const app = createApp(App)
-createApp(App).use(router).use(ElementPlus).use(Vant).mount('#app')
+app.use(router).use(pinia).use(ElementPlus).use(Vant).mount('#app')
--
Gitblit v1.8.0