src/templates/comtableconfig/settingform/index.jsx
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types' import { Form, Row, Col, Input, Radio, Select, Tooltip, Icon, notification } from 'antd' import { formRule } from '@/utils/option.js' import Utils from '@/utils/utils.js' import './index.scss' const { TextArea } = Input @@ -62,6 +63,18 @@ duration: 10 }) } else { let error = Utils.verifySql(values.dataresource) if (error) { notification.warning({ top: 92, message: '数据源中不可使用' + error, duration: 10 }) return } resolve(values) } } else {