diff --git a/src/views/kpi/set/index.vue b/src/views/kpi/set/index.vue index f7f8671..0203439 100644 --- a/src/views/kpi/set/index.vue +++ b/src/views/kpi/set/index.vue @@ -57,7 +57,11 @@ export default { } else { this.activeIndex = '' } - if (this.auth.evaluationSet && this.auth.roleSet) this.activeIndex = this.$route.query.activeIndex || '0' + if (this.auth.evaluationSet && this.auth.roleSet) { + this.activeIndex = this.$route.query.activeIndex || '0' + } else { + this.activeIndex = this.$route.query.activeIndex + } }, beforeMount () { }, mounted () { }, diff --git a/src/views/kpi/set/target/add/index.vue b/src/views/kpi/set/target/add/index.vue index 516b72c..050de36 100644 --- a/src/views/kpi/set/target/add/index.vue +++ b/src/views/kpi/set/target/add/index.vue @@ -1,7 +1,7 @@