From d085d0504041e29e82b51a6ade1a183149fc9ffa Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 09 九月 2025 16:44:55 +0800
Subject: [PATCH] Merge branch 'master' of http://dh.leon056.com:7499/r/data2/Single_application into ID1956-已签到页面改版
---
src/main.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main.ts b/src/main.ts
index 960ccbc..9147bbe 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -8,11 +8,12 @@
import router from './router';
import App from './App.vue'
import VConsole from 'vconsole'
+import { createPinia } from 'pinia'
if (import.meta.env.VITE_ENV === 'development') {
// 如果需要在手机平板上打开控制台,安装一个这个
const vConsole = new VConsole()
}
+const pinia = createPinia()
-
-createApp(App).use(router).use(ElementPlus).use(Vant).mount('#app')
+createApp(App).use(router).use(pinia).use(ElementPlus).use(Vant).mount('#app')
--
Gitblit v1.8.0