From e2f66b580cbd8a042966723a29ae35c5a5851e95 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 23 十月 2021 23:10:32 +0800 Subject: [PATCH] Merge branch 'master' into bms --- src/tabviews/commontable/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx index d37f4be..1e13b23 100644 --- a/src/tabviews/commontable/index.jsx +++ b/src/tabviews/commontable/index.jsx @@ -398,6 +398,7 @@ } }) } + console.log(config) this.setState({ loadingview: false, @@ -477,12 +478,12 @@ loadData = () => { const { MenuID } = this.props - const { setting, search, BIDs, loadCustomApi, hasReqFields } = this.state + const { setting, search, loadCustomApi, hasReqFields, ContainerId } = this.state this.setState({ - selectedData: [], - BIDs: { ...BIDs, [MenuID]: '', [MenuID + 'data']: '' } + selectedData: [] }) + MKEmitter.emit('changeTableLine', ContainerId, MenuID, '', '') if (hasReqFields) { let requireFields = search.filter(item => item.required && item.value === '') -- Gitblit v1.8.0