From e47568eae01378d753349598d52ee54defab63b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=88=90=E5=BC=BA?= Date: Wed, 18 Nov 2020 17:27:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/permission.js | 2 -- src/views/kpi/assessment/stepList/index.vue | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils/permission.js b/src/utils/permission.js index 9b61617..975640c 100644 --- a/src/utils/permission.js +++ b/src/utils/permission.js @@ -38,8 +38,6 @@ function handleGetDingtalkCode () { }) } router.beforeEach(async (to, from, next) => { - console.log('store: ', store) - console.log('VueCookie: ', VueCookie) if (!store.getters.userInfo.userNo && !dd.other) { let res = await handleGetDingtalkCode() console.log('res: ', res) diff --git a/src/views/kpi/assessment/stepList/index.vue b/src/views/kpi/assessment/stepList/index.vue index 1bf2929..471f24e 100644 --- a/src/views/kpi/assessment/stepList/index.vue +++ b/src/views/kpi/assessment/stepList/index.vue @@ -421,7 +421,8 @@ export default { })) if (res.code !== 200) return this.titleList = res.data - if (String(this.$route.query.step)) { + console.log('String(this.$route.query.step): ', String(this.$route.query.step)) + if (String(this.$route.query.step) && String(this.$route.query.step) !== 'undefined') { this.titleList = this.titleList.map(i => { if (String(i.flowProcess) === String(this.$route.query.step)) { i.active = true