祖安之光
2025-07-11 d85d9ae08781a5b0d9b7f854460d3f07d043595a
src/store/modules/user.js
@@ -10,6 +10,7 @@
      token: getToken(),
      id: '',
      name: '',
      companyId: null,
      avatar: '',
      roles: [],
      permissions: []
@@ -46,6 +47,7 @@
            }
            this.id = user.userId
            this.name = user.userName
            this.companyId = user.companyId
            this.avatar = avatar
            Cookies.set('userInfo',JSON.stringify(user))
            resolve(res)