king
2023-10-26 ef6f1dac56e8e5dd99720897139b7f6487347211
src/templates/zshare/modalform/index.jsx
@@ -745,7 +745,6 @@
          { required: item.required, message: '请输入' + item.label + '!' }
        ]
        span = 24
        className = 'text-area'
        if (this.record.type === 'select' || this.record.type === 'link') {
          extra = <span className="add-resource-empty" onClick={this.handleEmpty}>空</span>
@@ -757,7 +756,6 @@
        content = <CodeMirror />
      } else if (item.type === 'textarea') {
        span = 24
        className = 'text-msg'
        rules = [
          { required: item.required, message: '请输入' + item.label + '!' }
        ]
@@ -765,7 +763,6 @@
        content = <TextArea rows={item.rows || 4}/>
      } else if (item.type === 'options') {
        span = 24
        className = 'text-area'
        let type = this.record.type
        let linkSubFields = this.record.linkSubField || []
@@ -836,7 +833,6 @@
        }
      } else if (item.type === 'fields') {
        span = 24
        className = 'text-area'
        rules = [
          { required: item.required, message: '请添加' + item.label + '!' }
        ]