king
2020-06-29 2cfae2f496b90278d9af3c11159faa655e25a4ef
src/templates/sharecomponent/actioncomponent/actionform/index.jsx
@@ -333,6 +333,7 @@
          _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
        }
      }
      let _fieldval = {}
      this.setState({
        formlist: this.state.formlist.map(item => {
@@ -340,12 +341,16 @@
          if (item.hidden) return item
          if (item.key === 'Ot' && value === 'print') {
          if (item.key === 'intertype') {
            _fieldval.intertype = this.state.interType
          } else if (item.key === 'Ot' && value === 'print') {
            item.options = this.state.requireOptions
          }
          return item
        })
      }, () => {
        this.props.form.setFieldsValue(_fieldval)
      })
    } else if (key === 'sqlType') {
      let _fieldval = {}