king
2021-10-23 e6e5f96da15f3bbbca7e65f06d6169bbeadbeb4a
2021-10-23
1个文件已修改
7 ■■■■■ 已修改文件
src/tabviews/commontable/index.jsx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 === '')