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