提交修改

This commit is contained in:
quyixiao 2020-09-29 16:53:22 +08:00
parent 07ea9a2a97
commit 35267f1b72

View File

@ -65,7 +65,6 @@
this.handleGetUserInfo()
},
mounted () {
this.resetDocumentClientHeight()
},
@ -82,12 +81,11 @@
apiGetUserInfo({}, '').then(res => {
if (res && res.code === 0) {
this.loading = false
this.userId = res.user.userId
this.userName = res.user.username
this.userId = res.user && res.user.id
this.userName = res.user && res.user.userName
this.mobile = res.user.mobile
this.realName = res.user && res.user.realName
this.$store.state.user = res.user && res.user
this.$watermark.set(res.user.realName + ' ' + this.mobile.substr(7, 4))
} else {
this.$message.error(res.msg)