From 7ab8b7e8ee7470f7adfbb82e7dcfb193a6d7db6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 1 Jul 2024 15:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/ManageNodeInformation/indexjs.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/system/ManageNodeInformation/indexjs.js b/src/views/system/ManageNodeInformation/indexjs.js index 2d59395..2465353 100644 --- a/src/views/system/ManageNodeInformation/indexjs.js +++ b/src/views/system/ManageNodeInformation/indexjs.js @@ -463,10 +463,10 @@ export default { // 包含 changetriggerLogic(e, index) { - this.openlist.triggerConditionList[index].triggerConditionOperatorName = - this.openlist.triggerConditionList[index].optionstriggerConditionOperator.find( - (el) => el.dictValue == e - ).dictLabel; + // this.openlist.triggerConditionList[index].triggerConditionOperatorName = + // this.openlist.triggerConditionList[index].optionstriggerConditionOperator.find( + // (el) => el.dictValue == e + // ).dictLabel; this.openlist.triggerConditionList[index].triggerConditionValue = null; }, @@ -571,7 +571,8 @@ export default { )?.dictDataType; var dictType = "trigger_condition_operator"; getList(dictType, o.dictDataType).then((res) => { - o.optionstriggerConditionOperator = res.data; + this.$set(o,'optionstriggerConditionOperator' ,res.data) + this.$forceUpdate() }); var dictType = o.triggerConditionCode; getAgencytype(dictType).then((res) => {