admin-web/src/utils/base.js
@@ -34,7 +34,8 @@ if (obj.url.indexOf('http') !== 0) { url = SettingIplatform.ftpUrl + url } window.open(routeUrl.href + '?url=' + encodeURIComponent(url) + '&docName=' + encodeURIComponent(encodeURIComponent(obj.fileName)), '_blank') const newWindow = window.open(routeUrl.href + '?url=' + encodeURIComponent(url) + '&docName=' + encodeURIComponent(encodeURIComponent(obj.fileName)), '_blank') if (newWindow) newWindow.opener = null } else { Message.warning('文件格式不支持预览!') }