Commit 1359a7cea3b63bed381b7d37850aa79035da7301
1 parent
012dbeba
fix: lingedge action can create multiple alarm record on edit
Showing
1 changed file
with
6 additions
and
0 deletions
| ... | ... | @@ -16,6 +16,7 @@ | 
| 16 | 16 | :options="options" | 
| 17 | 17 | v-model:value="model[field]" | 
| 18 | 18 | @change="changeOutTarget" | 
| 19 | + @dropdown-visible-change="handleDropdownVisibleChange" | |
| 19 | 20 | placeholder="请选择执行动作" | 
| 20 | 21 | allowClear | 
| 21 | 22 | /></template> | 
| ... | ... | @@ -376,6 +377,10 @@ | 
| 376 | 377 | refItem.clearRuleRefs.value[index].conditionScreeningRef.otherAttribute = list; | 
| 377 | 378 | }; | 
| 378 | 379 | |
| 380 | + const handleDropdownVisibleChange = () => { | |
| 381 | + emit('getActionFormArr'); | |
| 382 | + }; | |
| 383 | + | |
| 379 | 384 | defineExpose({ | 
| 380 | 385 | getFieldsValue, | 
| 381 | 386 | getFieldsValueFunc, | 
| ... | ... | @@ -395,6 +400,7 @@ | 
| 395 | 400 | refItem, | 
| 396 | 401 | clearRuleList, | 
| 397 | 402 | resetConditionForm, | 
| 403 | + handleDropdownVisibleChange, | |
| 398 | 404 | }); | 
| 399 | 405 | </script> | 
| 400 | 406 | ... | ... |