祖安之光
20 小时以前 dd2bdb18a8394d2f2a13534a98bcadb8020e3668
src/store/modules/user.js
@@ -12,6 +12,7 @@
      id: '',
      name: '',
      companyId: null,
      companyName: '',
      avatar: '',
      roles: [],
      permissions: []
@@ -49,6 +50,7 @@
            this.id = user.userId
            this.name = user.userName
            this.companyId = user.companyId
            this.companyName = user.companyName
            this.avatar = avatar
            Cookies.set('userInfo',JSON.stringify(user))
            resolve(res)