valentichu 1 yıl önce
ebeveyn
işleme
e763930d01

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
lib/index.js


+ 0 - 3
src/pages/Alarm/components/complex.jsx

@@ -105,7 +105,6 @@ const Complex = (props, ref) => {
 
       const { state } = await API2.addRule(obj);
       if (state === 0) {
-        message.success("保存成功");
         props.onConfirm();
       }
     } else {
@@ -119,12 +118,10 @@ const Complex = (props, ref) => {
       };
       const { state } = await API2.editRule(obj);
       if (state === 0) {
-        message.success("保存成功");
         props.onConfirm(data.id);
       }
     }
     form.resetFields();
-    props.onConfirm();
   });
 
   useImperativeHandle(ref, () => {

+ 0 - 2
src/pages/Alarm/components/easy.jsx

@@ -140,7 +140,6 @@ const Easy = (props, ref) => {
       API2.addRule(obj)
         .then((res) => {
           if (res?.state === 0) {
-            message.success("保存成功");
             form.resetFields();
             props.onConfirm();
           }
@@ -230,7 +229,6 @@ const Easy = (props, ref) => {
       API2.editRule(obj)
         .then((res) => {
           if (res?.state === 0) {
-            message.success("保存成功");
             form.resetFields();
             props.onConfirm();
           }

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor