feature:自动化增加前端可控显隐。

This commit is contained in:
pixelmaxQM
2024-04-25 21:13:55 +08:00
parent 90549a09e1
commit d23d6c342a
5 changed files with 11 additions and 116 deletions
+3
View File
@@ -976,6 +976,9 @@ func fmtField(autoCode *system.AutoCodeStruct) {
autoCode.HasPic = true
autoCode.NeedJSON = true
}
if autoCode.Fields[i].FieldType == "json" {
autoCode.NeedJSON = true
}
if autoCode.Fields[i].FieldType == "file" {
autoCode.HasFile = true
autoCode.NeedJSON = true