liudong
2024-08-09 e67d5ed9974308207b7f6340bb3952240978546c
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() {