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