tag添加form 前端icon不存在的属性增加

This commit is contained in:
QM303176530
2020-05-29 20:59:17 +08:00
parent 5cb3d7bc86
commit 518bdba578
3 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -7,5 +7,5 @@ import (
type {{.StructName}} struct {
gorm.Model {{range .Fields}}
{{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}"{{if .ColumnName}} gorm:"column:{{.ColumnName}}"{{end}}`{{ end }}
{{.FieldName}} {{.FieldType}} `json:"{{.FieldJson}}" form:"{{.FieldJson}}" {{if .ColumnName}} gorm:"column:{{.ColumnName}}"{{end}}`{{ end }}
}