修复模版生成bug

关联表
新增字段选择
This commit is contained in:
linwenxiang committed 2020-09-16 20:59:53 +08:00
1 parent 50464dc6e6
commit 21d217c42a
3 files changed
+43 -12

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
{{ range .Columns }}
{{- $x := .IsInsert -}}
{{- if ($x) -}}
{{- if (eq $x "1") -}}
{{- if (.Pk) }}
{{- else if eq .GoField "CreatedAt" -}}
{{- else if eq .GoField "UpdatedAt" -}}