diff --git a/server/resource/autocode_template/web/table.vue.tpl b/server/resource/autocode_template/web/table.vue.tpl index 45d6f1df0..42a3e1391 100644 --- a/server/resource/autocode_template/web/table.vue.tpl +++ b/server/resource/autocode_template/web/table.vue.tpl @@ -99,7 +99,7 @@ > {{ if .GvaModel }} - + {{ "{{ formatDate(scope.row.CreatedAt) }}" }} {{ end }} @@ -127,17 +127,17 @@ {{"{{"}} formatBoolean(scope.row.{{.FieldJson}}) {{"}}"}} {{- else if eq .FieldType "time.Time" }} - + {{"{{"}} formatDate(scope.row.{{.FieldJson}}) {{"}}"}} {{- else if eq .FieldType "picture" }} - + {{- else if eq .FieldType "pictures" }} - + @@ -145,7 +145,7 @@ {{- else if eq .FieldType "video" }} - + {{- else if eq .FieldType "richtext" }} - + [富文本内容] {{- else if eq .FieldType "file" }} - + {{"{{"}}file.name{{"}}"}} @@ -171,7 +171,7 @@ {{- else if eq .FieldType "json" }} - + [JSON]