From c8204d03df522ff6b8bd6a067e9138c416b590a4 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 15 一月 2025 15:29:22 +0800 Subject: [PATCH] 测试完成 --- src/views/outsideChainwt.vue | 12 +++++++----- src/views/outsideChainwtnew.vue | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/views/outsideChainwt.vue b/src/views/outsideChainwt.vue index 58ed3ff..ce5773a 100644 --- a/src/views/outsideChainwt.vue +++ b/src/views/outsideChainwt.vue @@ -8,7 +8,7 @@ {{ kcb ? kcb - : "浜茬埍鐨勬偅鑰�-瀹跺睘锛屾偍濂斤紒鎴戜滑鏄棤閿″効绔ュ尰闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤闅忚闂嵎銆�" + : "浜茬埍鐨勬偅鑰�-瀹跺睘锛屾偍濂斤紒鎴戜滑鏄禉涓尰澶т簩闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤闅忚闂嵎銆�" }} <!-- 浜茬埍鐨勬偅鑰�/瀹跺睘鎮ㄥソ锛屼负浜嗘洿濂界殑浜嗚В鎮ㄥ嚭闄㈠悗鐨勫悍澶嶆儏鍐碉紝缁欐偍閫傚綋鍙婃椂鐨勫仴搴锋寚瀵硷紝璇锋偍鎶戒竴鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤鍑洪櫌闅忚闂嵎璋冩煡銆� --> </div> @@ -383,10 +383,12 @@ var obj = item.svyLibTemplateTargetoptions.find( (items) => items.optioncontent == item.scriptResult ); - if (obj.isabnormal) { - console.log(obj.isabnormal); - form.excep = 1; - this.excep=1; + if (obj) { + if (obj.isabnormal) { + console.log(obj.isabnormal); + form.excep = 1; + this.excep=1; + } } }); diff --git a/src/views/outsideChainwtnew.vue b/src/views/outsideChainwtnew.vue index 8e35a4d..01487e8 100644 --- a/src/views/outsideChainwtnew.vue +++ b/src/views/outsideChainwtnew.vue @@ -8,7 +8,7 @@ {{ kcb ? kcb - : "浜茬埍鐨勬偅鑰�-瀹跺睘锛屾偍濂斤紒鎴戜滑鏄棤閿″効绔ュ尰闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤闅忚闂嵎銆�" + : "浜茬埍鐨勬偅鑰�-瀹跺睘锛屾偍濂斤紒鎴戜滑鏄禉涓尰澶т簩闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤闅忚闂嵎銆�" }} <!-- 浜茬埍鐨勬偅鑰�/瀹跺睘鎮ㄥソ锛屼负浜嗘洿濂界殑浜嗚В鎮ㄥ嚭闄㈠悗鐨勫悍澶嶆儏鍐碉紝缁欐偍閫傚綋鍙婃椂鐨勫仴搴锋寚瀵硷紝璇锋偍鎶戒竴鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤鍑洪櫌闅忚闂嵎璋冩煡銆� --> </div> @@ -409,10 +409,12 @@ var obj = item.svyLibTemplateTargetoptions.find( (items) => items.optioncontent == item.scriptResult ); - if (obj.isabnormal) { - console.log(obj.isabnormal); - form.excep = 1; - this.excep = 1; + if (obj) { + if (obj.isabnormal) { + console.log(obj.isabnormal); + form.excep = 1; + this.excep = 1; + } } }); -- Gitblit v1.9.3