马宇豪
2024-12-02 02ad7cd1aaa98f25b9a3dd6a73a037c70006f001
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)