From 053bf171a96b85e754ba9f41fb5745a69d23faad Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 19 一月 2020 23:17:19 +0800 Subject: [PATCH] 2020-01-19 --- src/tabviews/subtabtable/index.jsx | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx index 9f0f795..7a3ac06 100644 --- a/src/tabviews/subtabtable/index.jsx +++ b/src/tabviews/subtabtable/index.jsx @@ -16,9 +16,11 @@ class SubTabModalTable extends Component { static propTpyes = { - BID: PropTypes.string, // 涓婄骇鏁版嵁ID - MenuID: PropTypes.string, // 鑿滃崟Id - SupMenuID: PropTypes.string // 涓婄骇鑿滃崟Id + ID: PropTypes.string, // 涓婄骇鏁版嵁ID + BID: PropTypes.string, // 涓婁笂绾ф暟鎹甀D + MenuID: PropTypes.string, // 鑿滃崟Id + SupMenuID: PropTypes.string, // 涓婄骇鑿滃崟Id + refreshSupView: PropTypes.any // 鍒锋柊涓婄骇鑿滃崟 } state = { @@ -455,6 +457,9 @@ } else if (type === 'excelOut') { this.handleDefaultExcelout(btn) } + if (type === 'success') { + this.props.refreshSupView() + } } /** -- Gitblit v1.8.0