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) => {