Jelajahi Sumber

在线文档-OA逻辑修改

fan 2 tahun lalu
induk
melakukan
f474073152
1 mengubah file dengan 8 tambahan dan 7 penghapusan
  1. 8 7
      src/pages/main/onlineExcel/index.vue

+ 8 - 7
src/pages/main/onlineExcel/index.vue

@@ -735,16 +735,17 @@ export default {
         },
     },
     mounted() {
-        this.woNo = this.$route.query.woNo
+        this.woNo = this.getUrlKey("id")//获取地址栏参数
+        console.log(this.woNo);
         if (this.woNo != null) {
             this.processWoNo();
-        } else {
-            this.woNo = this.getUrlKey("id")//获取地址栏参数
-            console.log(this.woNo);
-            if (this.woNo != null) {
-                this.processWoNo();
-            }
         }
+        // this.woNo = this.$route.query.woNo
+        // if (this.woNo != null) {
+        //     this.processWoNo();
+        // } else {
+        //
+        // }
         this.getList({}, 1);
         this.getTreeData();
     },