@@ -153,12 +153,11 @@ export default {
computed: {},
beforeCreate() {},
created() {
-
+ this.activeIndex = this.$route.query.activeIndex || 1; // 使用默认值 1
},
beforeMount() {},
mounted()
{
- this.activeIndex = this.$route.query.activeIndex || 1; // 使用默认值 1
this.handleMenuSelect(this.activeIndex);
beforeUpdate() {},