king
2021-10-23 e2f66b580cbd8a042966723a29ae35c5a5851e95
Merge branch 'master' into bms
2个文件已修改
11 ■■■■ 已修改文件
src/tabviews/commontable/index.jsx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/modalconfig/dragelement/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | 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 === '')
src/templates/modalconfig/dragelement/index.jsx
@@ -86,6 +86,10 @@
      newcard.required = 'true'
      newcard.focus = true
      if (item.subType === 'linkMain') {
        newcard.hidden = 'true'
      }
      let targetId = ''
      if (item.dropTargetId) {