diff --git a/server/resource/autocode_template/web/table.vue.tpl b/server/resource/autocode_template/web/table.vue.tpl index de56f9c579..0a344d9275 100644 --- a/server/resource/autocode_template/web/table.vue.tpl +++ b/server/resource/autocode_template/web/table.vue.tpl @@ -189,18 +189,18 @@ {{- end }} {{- if eq .FieldType "string" }} - + {{- end }} {{- if eq .FieldType "richtext" }} {{- end }} {{- if eq .FieldType "int" }} {{- if .DictType}} - + {{- else }} - + {{- end }} {{- end }} {{- if eq .FieldType "time.Time" }} @@ -210,7 +210,7 @@ {{- end }} {{- if eq .FieldType "enum" }} - + {{- end }} @@ -241,7 +241,7 @@ {{- range .Fields}} {{- if .DictType}} - {{"{{"}} filterDict(scope.row.{{.FieldJson}},{{.DictType}}Options) {{"}}"}} + {{"{{"}} filterDict(formData.{{.FieldJson}},{{.DictType}}Options) {{"}}"}} {{- else if eq .FieldType "picture" }} {{- else if eq .FieldType "pictures" }}