Browse Source

fixed page jump in business

maqingyang 11 months ago
parent
commit
7eb136c189
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/system/business.vue

+ 2 - 1
src/views/system/business.vue

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