From 3ffa64648831ceade32fba83047d0e99ff92c990 Mon Sep 17 00:00:00 2001
From: 张涛 <“2538313560@qq.com”>
Date: 星期一, 18 十一月 2024 14:06:00 +0800
Subject: [PATCH] fix:改动

---
 src/store/modules/storeMsg/index.ts |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/store/modules/storeMsg/index.ts b/src/store/modules/storeMsg/index.ts
index ac13d41..67a27af 100644
--- a/src/store/modules/storeMsg/index.ts
+++ b/src/store/modules/storeMsg/index.ts
@@ -1,8 +1,8 @@
 import { defineStore } from 'pinia';
 
-const usePinia  = defineStore('user', {
+const useStoreMsg  = defineStore('storeMsg', {
   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() {
@@ -23,4 +23,4 @@
   },
 });
 
-export default usePinia ;
+export default useStoreMsg ;

--
Gitblit v1.8.0