Commit d5583976080c368b25e26c4c28ea1a4a1a7bb59d
Merge branch 'perf/rule-chain/24-09-06' into 'main_dev'
perf: 优化规则链新增操作 See merge request yunteng/thingskit-front!1454
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -56,6 +56,7 @@ | @@ -56,6 +56,7 @@ | ||
56 | 56 | ||
57 | const handleSuccess = async () => { | 57 | const handleSuccess = async () => { |
58 | await validate(); | 58 | await validate(); |
59 | + setModalProps({ loading: true }); | ||
59 | const record = getFieldsValue(); | 60 | const record = getFieldsValue(); |
60 | const { description, debugMode, name } = record; | 61 | const { description, debugMode, name } = record; |
61 | if (!isUpdate.value) { | 62 | if (!isUpdate.value) { |
@@ -84,6 +85,7 @@ | @@ -84,6 +85,7 @@ | ||
84 | 85 | ||
85 | handleClose(); | 86 | handleClose(); |
86 | emit('success'); | 87 | emit('success'); |
88 | + setModalProps({ loading: false }); | ||
87 | }; | 89 | }; |
88 | </script> | 90 | </script> |
89 | <style lang="less" scoped></style> | 91 | <style lang="less" scoped></style> |