perf: 删除页面右上角修改密码提示功能

This commit is contained in:
fit2cloud-chenyw 2023-12-15 10:35:45 +08:00
parent 9d7f7e7cfc
commit 9336719ee4

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)