diff --git a/frontend/src/business/components/track/plan/view/TestPlanView.vue b/frontend/src/business/components/track/plan/view/TestPlanView.vue index bd64b40610..767617c3a4 100644 --- a/frontend/src/business/components/track/plan/view/TestPlanView.vue +++ b/frontend/src/business/components/track/plan/view/TestPlanView.vue @@ -150,7 +150,7 @@ export default { this.redirectCharType = this.$route.query.charType; } this.clickType = this.$route.params.clickType; - if (this.redirectCharType != "") { + if (this.redirectCharType) { if (this.redirectCharType == 'scenario') { this.activeIndex = 'api'; } else if (this.redirectCharType != null && this.redirectCharType != '') {