From 0227c25e4ed573d3095ada3f9c9a4ba5f18b0de5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 20 一月 2021 10:53:01 +0800 Subject: [PATCH] 2021-01-20 --- src/tabviews/scriptmanage/actionList/index.jsx | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/tabviews/scriptmanage/actionList/index.jsx b/src/tabviews/scriptmanage/actionList/index.jsx index 677751a..29eb5df 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 瑙﹀彂鎸夐挳鎿嶄綔 */ @@ -179,7 +175,9 @@ }) } - this.refreshdata(btn, 'success') + if (btn.execSuccess !== 'never') { + this.props.refreshdata() + } } /** @@ -209,8 +207,6 @@ } else if (res.ErrCode === 'NM') { message.error(res.message || res.ErrMesg) } - - this.refreshdata(btn, 'error') } -- Gitblit v1.8.0