Commit bdacdec7827786199fc825604da004afd490e672
1 parent
e884e308
fix:修复场景联动 触发器和执行条件设备、属性、条件筛选如果有则必填验证
Showing
1 changed file
with
6 additions
and
0 deletions
... | ... | @@ -116,6 +116,12 @@ |
116 | 116 | if (arr.length == 0) { |
117 | 117 | predicateIsRequired = true; |
118 | 118 | } |
119 | + if (f.operation == undefined) { | |
120 | + predicateIsRequired = true; | |
121 | + } | |
122 | + if (f.value == undefined) { | |
123 | + predicateIsRequired = true; | |
124 | + } | |
119 | 125 | }); |
120 | 126 | } |
121 | 127 | if (predicateIsRequired) return createMessage.error('请填写条件筛选'); | ... | ... |