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() {