yinbangzhong
2024-08-06 d1de15b9da6124af3c8f547b40adb318e223143d
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() {