@@ -153,11 +153,12 @@ 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() {},