mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-03 08:20:36 +00:00
improve: 代码生成默认值判断
This commit is contained in:
parent
c83d7ead9e
commit
00ed8ec7e6
@ -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表数据');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user