From 2d8a1e9af90dd6d11bcf41c47e2ee0da51a152f4 Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期三, 07 八月 2024 10:35:02 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/flow_web --- 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