Explorar el Código

fixed page jump in business

maqingyang hace 11 meses
padre
commit
7eb136c189
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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() {},