mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 18:20:47 +00:00
修复模型字段属性
This commit is contained in:
@@ -56,6 +56,8 @@ func SelectFieldsAll(req *model_fields.SelectPageReq) (list []*model_fields.Fiel
|
||||
fInfo.FieldType = field.FieldType
|
||||
fInfo.FieldRules = field.FieldRules
|
||||
fInfo.FieldDefault = field.FieldDefault
|
||||
fInfo.FieldWidth = field.FieldWidth
|
||||
fInfo.FieldAlign = field.FieldAlign
|
||||
if gstr.ContainsI(modelInfo.SearchList, field.FieldName) {
|
||||
//列表查询
|
||||
fInfo.SearchList = "1"
|
||||
|
||||
Reference in New Issue
Block a user