From 6d453537c8acf92ea5d9decbf6744df07f00efb1 Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期六, 03 八月 2024 22:29:25 +0800 Subject: [PATCH] 智能体管理的页面开发和功能开发 --- src/store/modules/storeMsg/index.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/modules/storeMsg/index.ts b/src/store/modules/storeMsg/index.ts index ac13d41..173c4bd 100644 --- a/src/store/modules/storeMsg/index.ts +++ b/src/store/modules/storeMsg/index.ts @@ -2,7 +2,7 @@ const usePinia = defineStore('user', { state: () => ({ - id: '', + kbobj: {}, }), getters: { @@ -13,8 +13,8 @@ actions: { // Set user's information - setkbObj(str) { - this.id = str; + setkbObj(obj) { + this.kbobj = obj; }, // Reset user's information resetkbObj() { -- Gitblit v1.8.0