liudong
2024-07-30 ff8f0ad87016c47a4b21b39b62bbcc10254a2c51
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() {