马宇豪
2024-12-16 0d70a4477475465be490f8f9b45387765b6eac0a
src/store/modules/user.js
@@ -47,6 +47,7 @@
            this.id = user.userId
            this.name = user.userName
            this.avatar = avatar
            Cookies.set('userInfo',JSON.stringify(user))
            resolve(res)
          }).catch(error => {
            reject(error)