From 316877c1d9e5b6d92334f30b03d97d7e833cd934 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 02 二月 2021 16:01:57 +0800
Subject: [PATCH] 2021-02-02

---
 src/tabviews/scriptmanage/actionList/index.jsx |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/src/tabviews/scriptmanage/actionList/index.jsx b/src/tabviews/scriptmanage/actionList/index.jsx
index 677751a..a17cc72 100644
--- a/src/tabviews/scriptmanage/actionList/index.jsx
+++ b/src/tabviews/scriptmanage/actionList/index.jsx
@@ -33,10 +33,6 @@
     configMap: {}
   }
 
-  refreshdata = (item, type) => {
-    this.props.refreshdata(item, type)
-  }
-  
   /**
    * @description 瑙﹀彂鎸夐挳鎿嶄綔
    */
@@ -124,8 +120,6 @@
       LText: values.LongParam
     }
 
-    param.LText = window.btoa(window.encodeURIComponent(JSON.stringify(param.LText)))
-
     if (btn.sqlType === 'delete') {
       param.LText = window.GLOB.appkey || ''
       param.Remark = ''
@@ -179,7 +173,9 @@
       })
     }
 
-    this.refreshdata(btn, 'success')
+    if (btn.execSuccess !== 'never') {
+      this.props.refreshdata()
+    }
   }
 
   /**
@@ -209,8 +205,6 @@
     } else if (res.ErrCode === 'NM') {
       message.error(res.message || res.ErrMesg)
     }
-    
-    this.refreshdata(btn, 'error')
   }
 
 

--
Gitblit v1.8.0