Merge remote-tracking branch 'origin/update' into update

This commit is contained in:
蒋吉兆
2021-11-14 22:41:42 +08:00
9 changed files with 31 additions and 155 deletions

View File

@@ -61,7 +61,7 @@ export default {
{{.FieldJson}}: '',
{{- end }}
{{- if eq .FieldType "int" }}
{{.FieldJson}}: 0,
{{.FieldJson}}: {{- if .DictType }} undefined{{ else }} 0{{- end }},
{{- end }}
{{- if eq .FieldType "time.Time" }}
{{.FieldJson}}: new Date(),