浏览代码

初始化处理

cldu 2 月之前
父节点
当前提交
f1e1db16d8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/approve_manage/approveList.vue

+ 1 - 1
src/views/approve_manage/approveList.vue

@@ -365,7 +365,7 @@ export default {
 
 
            this.activeMainTab = this.mainTabs.length > 0 ? this.mainTabs[0].name : '';
            this.activeMainTab = this.mainTabs.length > 0 ? this.mainTabs[0].name : '';
            if(!this.mainTabs.length) return;
            if(!this.mainTabs.length) return;
-           const {formType='approve',mainType='bi'} = this.$route.query
+           const {formType='approve',mainType} = this.$route.query
 
 
            if(mainType) {
            if(mainType) {
                 let valid = this.mainTabs.find(_ => mainType == _.name);
                 let valid = this.mainTabs.find(_ => mainType == _.name);