|
@@ -293,6 +293,7 @@ export default {
|
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
|
this.username = res.data.username
|
|
this.username = res.data.username
|
|
|
this.userphoto = res.data.userphoto
|
|
this.userphoto = res.data.userphoto
|
|
|
|
|
+ localStorage.setItem('username', res.data.username) // 0管理员 1用户
|
|
|
})
|
|
})
|
|
|
this.$axios({
|
|
this.$axios({
|
|
|
method: 'get',
|
|
method: 'get',
|