修复富文本未创建前端输入字段的bug
This commit is contained in:
@@ -99,6 +99,9 @@ const formData = ref({
|
|||||||
{{- if eq .FieldType "string" }}
|
{{- if eq .FieldType "string" }}
|
||||||
{{.FieldJson}}: '',
|
{{.FieldJson}}: '',
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if eq .FieldType "richtext" }}
|
||||||
|
{{.FieldJson}}: '',
|
||||||
|
{{- end }}
|
||||||
{{- if eq .FieldType "int" }}
|
{{- if eq .FieldType "int" }}
|
||||||
{{.FieldJson}}: {{- if .DictType }} undefined{{ else }} 0{{- end }},
|
{{.FieldJson}}: {{- if .DictType }} undefined{{ else }} 0{{- end }},
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@@ -353,6 +353,9 @@ const formData = ref({
|
|||||||
{{- if eq .FieldType "string" }}
|
{{- if eq .FieldType "string" }}
|
||||||
{{.FieldJson}}: '',
|
{{.FieldJson}}: '',
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if eq .FieldType "richtext" }}
|
||||||
|
{{.FieldJson}}: '',
|
||||||
|
{{- end }}
|
||||||
{{- if eq .FieldType "int" }}
|
{{- if eq .FieldType "int" }}
|
||||||
{{.FieldJson}}: {{- if .DictType }} undefined{{ else }} 0{{- end }},
|
{{.FieldJson}}: {{- if .DictType }} undefined{{ else }} 0{{- end }},
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Reference in New Issue
Block a user