Commit d5583976080c368b25e26c4c28ea1a4a1a7bb59d

Authored by xp.Huang
2 parents d688e74f 13ecc596

Merge branch 'perf/rule-chain/24-09-06' into 'main_dev'

perf: 优化规则链新增操作

See merge request yunteng/thingskit-front!1454
... ... @@ -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>
... ...