king
2020-04-12 3df2d3624c6b768d29670b537f8d6a71d3ef122c
src/templates/zshare/modalform/index.jsx
@@ -69,7 +69,7 @@
      }
    })
    
    let _options = modalTypeOptions[type]
    let _options = JSON.parse(JSON.stringify(modalTypeOptions[type]))
    if ((type === 'multiselect' || type === 'select' || type === 'link') && resourceType === '0') { // 选择类型、自定义资源
      _options = [..._options, 'options', 'quick']
@@ -128,7 +128,7 @@
  openTypeChange = (key, value) => {
    if (key === 'type') {
      let _options = modalTypeOptions[value]
      let _options = JSON.parse(JSON.stringify(modalTypeOptions[value]))
      if ((value === 'multiselect' || value === 'select' || value === 'link') && this.state.resourceType === '0') { // 选择类型、自定义资源
        _options = [..._options, 'options', 'quick']
@@ -241,7 +241,7 @@
    const { openType } = this.state
    let value = e.target.value
    if (key === 'resourceType') {
      let _options = modalTypeOptions[openType]
      let _options = JSON.parse(JSON.stringify(modalTypeOptions[openType]))
      if (value === '0') {
        _options = [..._options, 'options', 'quick']