src/templates/zshare/modalform/index.jsx
@@ -3,6 +3,7 @@ import { Form, Row, Col, Input, Select, Icon, Radio, notification, InputNumber, Tooltip } from 'antd' import { formRule } from '@/utils/option.js' import { dateOptions } from '@/utils/option.js' import Utils from '@/utils/utils.js' import EditTable from '../modaleditable' import './index.scss' @@ -541,6 +542,17 @@ } }) let error = Utils.verifySql(values.dataSource) if (error) { notification.warning({ top: 92, message: '数据源中不可使用' + error, duration: 10 }) return } if (isvalid) { resolve(values) }