Sfoglia il codice sorgente

fix(生产订单): 根据路由参数设置默认标签页

liujt 2 mesi fa
parent
commit
6dcc570fd9
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      src/views/produceOrder/index.vue

+ 4 - 0
src/views/produceOrder/index.vue

@@ -888,6 +888,10 @@
       }
     },
     created() {
+      const isWt = this.$route.query?.isWt;
+      if (isWt) {
+        this.tabValue = '1';
+      }
       this.getFieldModel();
     },
     mounted() {