Explorar o código

bugfix 一个字母的错误

OdinXu %!s(int64=5) %!d(string=hai) anos
pai
achega
eea61788be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/admin/gen_service/table.go

+ 1 - 1
app/service/admin/gen_service/table.go

@@ -165,7 +165,7 @@ func InitColumnField(column *gen_table_column.Entity, table *gen_table.Entity) {
 	} else if gen_table_column.IsTimeObject(dataType) {
 		//字段为时间类型
 		column.GoType = "Time"
-		column.HtmlType = "datatime"
+		column.HtmlType = "datetime"
 	} else if gen_table_column.IsNumberObject(dataType) {
 		//字段为数字类型
 		column.HtmlType = "input"