浏览代码

fixed page jump in business

maqingyang 11 月之前
父节点
当前提交
7eb136c189
共有 1 个文件被更改,包括 2 次插入1 次删除
  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() {},