king
2019-12-31 c41b93d4c5e2146a1d1568887fb8ce1e3144d7fb
src/templates/modalconfig/index.jsx
@@ -350,6 +350,9 @@
            value: 'select',
            text: this.state.dict['header.form.select']
          }, {
            value: 'multiselect',
            text: this.state.dict['header.form.multiselect']
          }, {
            value: 'link',
            text: this.state.dict['header.form.link']
          }, {
@@ -505,7 +508,7 @@
    this.formRef.handleConfirm().then(res => {
      let _config = JSON.parse(JSON.stringify(this.state.config))
      if ((res.type === 'select' || res.type === 'link') && res.resourceType === '1') {
      if ((res.type === 'multiselect' || res.type === 'select' || res.type === 'link') && res.resourceType === '1') {
        let _datasource = res.dataSource
        if (/\s/.test(_datasource)) {