king
2021-09-25 a7ddedc4c5d6cda66a83623d9d318437a19d8338
src/templates/sharecomponent/actioncomponent/actionform/index.jsx
@@ -331,30 +331,16 @@
      }, () => {
        this.props.form.setFieldsValue(_fieldval)
      })
    // } else if (key === 'tabType') {
    //   let _tabs = this.props.tabs.filter(tab => tab.type === value)
    //   let _fieldval = {}
    //   this.setState({
    //     formlist: this.state.formlist.map(item => {
    //       if (item.key === 'linkTab') {
    //         item.options = [
    //           {
    //             value: '',
    //             text: '新建'
    //           },
    //           ..._tabs
    //         ]
    //       }
    //       return item
    //     })
    //   }, () => {
    //     this.props.form.setFieldsValue(_fieldval)
    //   })
    } else if (key === 'funcType') {
      let _options = this.getOptions('funcbutton', this.state.interType, value, card.pageTemplate, card.tabTemplate, procMode, Ot)
      let _fieldval = {}
      if (value === 'print') {
        _fieldval.label = '打印'
      } else if (value === 'closetab') {
        _fieldval.label = '关闭'
      }
      this.setState({
        funcType: value,
        formlist: this.state.formlist.map(item => {