From 24f0ce147c8daef39ec437d5def9d089ea5b1839 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 05 六月 2020 17:23:53 +0800 Subject: [PATCH] 2020-06-05 --- src/tabviews/subtable/index.jsx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx index d15bd1c..a5c0f11 100644 --- a/src/tabviews/subtable/index.jsx +++ b/src/tabviews/subtable/index.jsx @@ -777,6 +777,8 @@ * @description 鎸夐挳鎿嶄綔瀹屾垚鍚庯紙鎴愬姛鎴栧け璐ワ級锛岄〉闈㈠埛鏂帮紝閲嶇疆椤电爜鍙婇�夋嫨椤� */ refreshbyaction = (btn, type) => { + const { Tab } = this.props + if (btn.execSuccess === 'grid' && type === 'success') { this.reloadtable() } else if (btn.execError === 'grid' && type === 'error') { @@ -795,6 +797,9 @@ this.reloadtable() this.props.handleMainTable('equaltab') } else if (btn.execSuccess === 'maingrid' && type === 'success') { + if (Tab.isTreeNode) { + this.reloadtable() + } this.props.handleMainTable('maingrid') } else if (btn.execSuccess === 'equaltab' && type === 'success') { this.reloadtable() -- Gitblit v1.8.0