We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 817e34c + 8649d8d commit b65b74dCopy full SHA for b65b74d
template/v4/vue.go.template
@@ -175,7 +175,7 @@
175
{{- else }}
176
<el-form-item label="{{.ColumnComment}}" prop="{{.JsonField}}">
177
{{ if eq "input" .HtmlType -}}
178
- <el-input v-model="form.{{.JsonField}}" placeholder="{{.ColumnComment}}"
+ <el-input v-model{{if eq .GoType "int64" -}}.number{{- end}}="form.{{.JsonField}}" placeholder="{{.ColumnComment}}"
179
{{if eq .IsEdit "false" -}}:disabled="isEdit" {{- end}}/>
180
{{- else if eq "select" .HtmlType -}}
181
{{- if ne .FkTableName "" -}}
0 commit comments