From 4b1c623b48a9ca55389630c325b3cc43278d106f Mon Sep 17 00:00:00 2001 From: scwang18 Date: Thu, 3 May 2018 09:40:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=84=E4=BB=B6=E9=A2=84=E8=A7=88=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=9C=A8top=E5=B1=82=E5=BC=B9=E5=87=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/common/tag/attachment.tag.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-core/src/main/resources/templates/common/tag/attachment.tag.html b/admin-core/src/main/resources/templates/common/tag/attachment.tag.html index e111a6c9..b0b197ac 100644 --- a/admin-core/src/main/resources/templates/common/tag/attachment.tag.html +++ b/admin-core/src/main/resources/templates/common/tag/attachment.tag.html @@ -137,8 +137,8 @@ function() { //文件下载地址 var file = encodeURIComponent("http://" + window.location.host+"/core/file/download/"+fileId+"/${batchFileUUID}/"+fileName); //8012为预览服务器地址,参考 https://gitee.com/kekingcn/file-online-preview 安装 - Common.openDlg("${env('file.previewURL')}?url="+file,fileName+"预览") - //window.open("http://localhost:8012/onlinePreview?url="+file); + Common.topOpenDlg("${env('file.previewURL')}?url="+file,fileName+"预览"); + //window.open("${env('file.previewURL')}?url="+file,fileName+"预览"); return false; }); -- Gitee