马宇豪
2024-11-26 75f6a814525dfd3b19e359a3dfa3de3e9226f32d
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)