From d553a4be94d4f6ee162cc353a28b220403909cfc Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期六, 03 十月 2026 00:58:19 +0800
Subject: [PATCH] ai优化
---
src/main.ts | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main.ts b/src/main.ts
index 15c6a53..1dcff8b 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -28,6 +28,9 @@
// 璺敱
import router, { setupRouter } from '@/router'
+// 銆愪慨澶嶃�戝尰鐢熷凡閫夎瘖瀹ょ殑鎸佷箙鍖栨仮澶嶏紙璇﹁ store/modules/room.ts 涓殑璇存槑锛�
+import { setupRoomStorePersistence } from '@/store/modules/room'
+
// 鏉冮檺
import { setupAuth } from '@/directives'
@@ -58,6 +61,11 @@
setupStore(app)
+ // 銆愪慨澶嶃�戞妸銆屽尰鐢熷凡閫夎瘖瀹ゃ�嶄粠 sessionStorage 鎭㈠鍒� store銆�
+ // 蹇呴』鏀惧湪 setupStore(app) 涔嬪悗锛圥inia 宸插氨缁級銆佽矾鐢卞畧鍗笌椤甸潰 onMounted 涔嬪墠锛�
+ // 鍚﹀垯鍖荤敓椤甸潰浼氬洜 isSetRoom=false 鑰屼笉鍙栨暟锛堣〃鐜颁负"鍙彿妫�鏌ラ〉娌℃湁鎺掗槦鐥呬汉"锛夈��
+ setupRoomStorePersistence()
+
setupGlobCom(app)
setupElementPlus(app)
--
Gitblit v1.9.3