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> |