Commit e7f00739 by xuyl

修复跳转bug

1 parent 5a6374c8
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
// } // }
// console.log(this.$route.query) // console.log(this.$route.query)
if (this.$route.query.selectTab) { if (this.$route.query.selectTab) {
this.$route.query.selectTab == 1 ? (this.activeName = 'first') : (this.activeName = 'second') this.$route.query.selectTab == 1 || this.$route.query.selectTab == 'first' ? (this.activeName = 'first') : (this.activeName = 'second')
} }
}, },
mounted() {}, mounted() {},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!