mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 10:13:01 +00:00
修复模版生成bug
关联表 新增字段选择
This commit is contained in:
@@ -141,13 +141,6 @@ func GenCodeV2(c *gin.Context) {
|
||||
tools2.HasError(err, "", -1)
|
||||
table.TableId = id
|
||||
tab, _ := table.Get()
|
||||
//for i := range tab.Columns {
|
||||
// if tab.Columns[i].IsInsert == "1" {
|
||||
// tab.Columns[i].IsInsert = "true"
|
||||
// continue
|
||||
// }
|
||||
// tab.Columns[i].IsInsert = "false"
|
||||
//}
|
||||
|
||||
if tab.IsActions == 1 {
|
||||
ActionsGen(tab)
|
||||
|
||||
Reference in New Issue
Block a user