From 590794315aa2dff6b91354c83c9e7a1e7c908ff0 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 30 六月 2023 19:59:42 +0800
Subject: [PATCH] 代码整合

---
 Source/UBCS-WEB/src/mixins/codeApply.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/mixins/codeApply.js b/Source/UBCS-WEB/src/mixins/codeApply.js
index 2dac60e..3f0c1be 100644
--- a/Source/UBCS-WEB/src/mixins/codeApply.js
+++ b/Source/UBCS-WEB/src/mixins/codeApply.js
@@ -41,7 +41,9 @@
     }
   },
   created() {
-    this.getCodeRule()
+    if (this.type === 'batchImportApply') {
+      this.getCodeRule()
+    }
   },
   methods: {
     // 鑾峰彇鐮佸�肩敵璇锋暟鎹�
@@ -122,7 +124,7 @@
           },
         };
       } else if (item.secType == "coderefersec") {
-        params = JSON.parse(item.referConfig);
+        params = JSON.parse(item.referValueInfo);
       }
       return params;
     },

--
Gitblit v1.9.3