king
2023-06-24 fc5c58dba3e3524e3bfb75ee91e8ac892e96c598
src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx
@@ -14,7 +14,6 @@
class SettingForm extends Component {
  static propTpyes = {
    dict: PropTypes.object,       // 字典项
    menuId: PropTypes.string,     // 菜单Id
    setting: PropTypes.object,    // 数据源配置
    columns: PropTypes.array,     // 列设置
@@ -87,6 +86,14 @@
              notification.warning({
                top: 92,
                message: '数据源中,不可出现字符 -- ,注释请用 /*内容*/',
                duration: 5
              })
              reject()
              return
            } else if (/,,/ig.test(values.dataresource)) {
              notification.warning({
                top: 92,
                message: '数据源中,不可出现连续的英文逗号(,,)',
                duration: 5
              })
              reject()
@@ -168,7 +175,7 @@
      rules.push({
        required: true,
        message: this.props.dict['form.required.input'] + '内部函数!'
        message: '请输入内部函数!'
      }, {
        pattern: _patten,
        message: formRule.func.innerMessage
@@ -185,7 +192,7 @@
                rules: [
                  {
                    required: true,
                    message: this.props.dict['form.required.input'] + '表名!'
                    message: '请输入表名!'
                  },
                  {
                    max: 50,
@@ -202,7 +209,7 @@
                rules: [
                  {
                    required: true,
                    message: this.props.dict['form.required.select'] + '接口类型!'
                    message: '请选择接口类型!'
                  },
                ]
              })(
@@ -243,7 +250,7 @@
                rules: [
                  {
                    required: true,
                    message: this.props.dict['form.required.input'] + '接口地址!'
                    message: '请输入接口地址!'
                  },
                ]
              })(<TextArea rows={2}/>)}