Commit 81da4418 authored by 邓超's avatar 邓超

fix: 修复建表校验报错

parent 2b8915f3
Pipeline #67274 passed with stages
...@@ -380,15 +380,15 @@ const TableView = props => { ...@@ -380,15 +380,15 @@ const TableView = props => {
// 默认字段不显示时要拼接上默认字段 // 默认字段不显示时要拼接上默认字段
TableFields = [...defaultData, ...TableFields]; TableFields = [...defaultData, ...TableFields];
} }
if (checkMsg) { // if (checkMsg) {
notification.error({ // notification.error({
message: '提示', // message: '提示',
duration: 3, // duration: 3,
description: checkMsg, // description: checkMsg,
style: { whiteSpace: 'pre-wrap' }, // style: { whiteSpace: 'pre-wrap' },
}); // });
return; // return;
} // }
form.validateFields().then(validate => { form.validateFields().then(validate => {
if (validate) { if (validate) {
if (!validate.tableName) { if (!validate.tableName) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment