diff --git a/server/resource/package/web/view/table.vue.tpl b/server/resource/package/web/view/table.vue.tpl index 2d7b29949b..c6d5f55b15 100644 --- a/server/resource/package/web/view/table.vue.tpl +++ b/server/resource/package/web/view/table.vue.tpl @@ -131,7 +131,7 @@ @@ -607,7 +607,7 @@ getDataSourceFunc() @@ -1297,11 +1297,6 @@ const enterDialog = async () => { } }) } -{{if .HasFile }} -const downloadFile = (url) => { - window.open(getUrl(url), '_blank') -} -{{end}} const detailFrom = ref({}) diff --git a/server/resource/plugin/web/view/view.vue.template b/server/resource/plugin/web/view/view.vue.template index 88785002c1..aa13244264 100644 --- a/server/resource/plugin/web/view/view.vue.template +++ b/server/resource/plugin/web/view/view.vue.template @@ -131,7 +131,7 @@ @@ -607,7 +607,7 @@ getDataSourceFunc() @@ -1295,11 +1295,6 @@ const enterDialog = async () => { } }) } -{{if .HasFile }} -const downloadFile = (url) => { - window.open(getUrl(url), '_blank') -} -{{end}} const detailFrom = ref({})