Merge pull request #7172 from dataease/pr@dev@fix_modify_pwd_tips

perf: 删除页面右上角修改密码提示功能
This commit is contained in:
fit2cloud-chenyw 2023-12-15 10:36:49 +08:00 committed by GitHub
commit f87222084a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
>
<licbar />
<topbar
v-if="!fullHeightFlag && finishLoad"
v-if="!fullHeightFlag"
:show-tips="showTips"
/>
@ -83,7 +83,6 @@ export default {
return {
componentName: 'PanelMain',
showTips: false,
finishLoad: false,
buttonDisable: false,
sideWidth: ''
}
@ -125,12 +124,7 @@ export default {
}
},
beforeCreate() {
needModifyPwd().then(res => {
this.showTips = res.success && res.data
this.finishLoad = true
}).catch(e => {
this.finishLoad = true
})
this.showTips = false
},
mounted() {
document.addEventListener('click', this.bodyClick)