Commit 6ec2a62c by wangjian

1

parent a2f6fb87
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
getUserInfo() { getUserInfo() {
this.$net.get('/staff/detail').then(res => { this.$net.get('/staff/detail').then(res => {
if (res.code === 200) { if (res.code === 200) {
this.$store.commit('refreshUserInfo', this.userInfo) this.$store.commit('refreshUserInfo', res.data)
this.toast('设置密码成功') this.toast('设置密码成功')
this.close() this.close()
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment