From 2e0449bb433323c0bd04293dc0dc1a46edd6eaea Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Mon, 1 Nov 2021 13:37:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E8=B5=9B=E8=AE=BE=E8=AE=A1=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E7=99=BB=E5=BD=95=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 2dddf4801..30b149ef6 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -452,7 +452,7 @@ export default { }, handleLoginSucessRoute() { // 设置路由 - this.loading = this.project.includes('drts') || false; + this.loading = this.project === 'drts' || this.project === 'hlsdrts' || false; this.tipsMsg = ''; removeSessionStorage('againEnter'); if (this.$route.query.projectDevice) { @@ -547,7 +547,7 @@ export default { } }); }); - } else if (this.project.includes('drts') || this.project === 'bjd' || this.project === 'wjls') { + } else if (this.project === 'drts' || this.project === 'hlsdrts' || this.project === 'bjd' || this.project === 'wjls') { getLoginInfo(getToken()).then(res => { if (this.project === 'wjls') { getSimulationInfoByGroup(res.data.group).then(resp =>{ @@ -566,7 +566,7 @@ export default { }); } else { getSimulationInfoNew(res.data.group).then(resp => { - if (this.project.includes('drts')) { + if (this.project === 'drts' || this.project === 'hlsdrts') { this.$router.push({ path: `/displayNew/demon`, query: { lineCode: resp.data.map.lineCode, group: res.data.group,