bug
This commit is contained in:
@@ -83,8 +83,7 @@
|
|||||||
countPhotoNo: '',
|
countPhotoNo: '',
|
||||||
countPhotographer: '',
|
countPhotographer: '',
|
||||||
list: [],
|
list: [],
|
||||||
msgInfo: {},
|
msgInfo: {}
|
||||||
userInfo: {}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: { ...mapState(['user']) },
|
computed: { ...mapState(['user']) },
|
||||||
@@ -118,7 +117,7 @@
|
|||||||
getUserInfo () {
|
getUserInfo () {
|
||||||
this.$http.post('/api/user/info').then(res => {
|
this.$http.post('/api/user/info').then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.userInfo = res.data
|
this.$store.commit('setUser', res.data)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user