zhouwx
2024-11-20 8e5874a30ae9b194968393b2399bbba193eaa313
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)