增加普通时间类型,以及增加富文本类型

This commit is contained in:
hoteas 2022-04-25 20:08:16 +08:00
parent 79d1189803
commit bae9f60012
2 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ func (that *MakeCode) Db2JSON(db *db.HoTimeDB, config Map) {
tempC := that.TableConfig.GetMap(tableName).GetSlice("columns") tempC := that.TableConfig.GetMap(tableName).GetSlice("columns")
isGet := true isGet := true
for k2, _ := range tempC { for k2, _ := range tempC {
if strings.Contains(tempC.GetMap(k2).GetString("name"), "name") { if strings.Contains(tempC.GetMap(k2).GetString("name"), "name") || strings.Contains(tempC.GetMap(k2).GetString("name"), "title") {
v["value"] = tempC.GetMap(k2).GetString("name") v["value"] = tempC.GetMap(k2).GetString("name")
isGet = false isGet = false
break break

Binary file not shown.