improve: 代码生成默认值判断

This commit is contained in:
From-wh 2023-04-14 11:01:54 +08:00
parent c83d7ead9e
commit 00ed8ec7e6

View File

@ -92,7 +92,7 @@ export default {
if (this.$refs.Foundation.tableField.length)
for (let i = 0; i < this.$refs.Foundation.tableField.length; i++) {
const el = this.$refs.Foundation.tableField[i];
if (!el.field || !el.file_type || !el.default || !el.comment) {
if (!el.field || !el.file_type || !el.comment) {
return this.$Message.warning('请完善sql表数据');
}
}