zhouwx
2025-03-21 fd3ef41e30c4d262ceb5616075daacf61c40d20d
src/store/modules/user.js
@@ -48,6 +48,7 @@
            this.name = user.userName
            this.avatar = avatar
            Cookies.set('userInfo',JSON.stringify(user))
            Cookies.set('userRole',JSON.stringify(this.roles))
            resolve(res)
          }).catch(error => {
            reject(error)