From e6e5f96da15f3bbbca7e65f06d6169bbeadbeb4a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 23 十月 2021 22:25:09 +0800 Subject: [PATCH] 2021-10-23 --- 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