Explorar el Código

bugfix 一个字母的错误

OdinXu hace 5 años
padre
commit
eea61788be
Se han modificado 1 ficheros con 1 adiciones y 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"