Commit 13ecc596f0ccdccee96168477acebc91d20dce9d

Authored by fengtao
1 parent d688e74f

perf: 优化规则链新增操作

... ... @@ -56,6 +56,7 @@
56 56
57 57 const handleSuccess = async () => {
58 58 await validate();
  59 + setModalProps({ loading: true });
59 60 const record = getFieldsValue();
60 61 const { description, debugMode, name } = record;
61 62 if (!isUpdate.value) {
... ... @@ -84,6 +85,7 @@
84 85
85 86 handleClose();
86 87 emit('success');
  88 + setModalProps({ loading: false });
87 89 };
88 90 </script>
89 91 <style lang="less" scoped></style>
... ...