Sfoglia il codice sorgente

fixed page jump in business

maqingyang 11 mesi fa
parent
commit
7eb136c189
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/views/system/business.vue

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

@@ -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() {},