From 9336719ee4ef33ce616b35a3ad74f27c90756482 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 15 Dec 2023 10:35:45 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=88=A0=E9=99=A4=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=8F=B3=E4=B8=8A=E8=A7=92=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/layout/index.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/core/frontend/src/layout/index.vue b/core/frontend/src/layout/index.vue index beea0d43d5..8c29996218 100644 --- a/core/frontend/src/layout/index.vue +++ b/core/frontend/src/layout/index.vue @@ -7,7 +7,7 @@ > @@ -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)