From 8cf5185b36d5905658063632a390e1fca8be62ce Mon Sep 17 00:00:00 2001 From: jmal Date: Sat, 11 May 2024 10:30:52 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=8E=B0=E5=9C=A8=E4=BD=BF=E7=94=A8loc?= =?UTF-8?q?alhost=E8=AE=BF=E9=97=AE=E5=8F=AF=E4=BB=A5=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E6=89=93=E5=BC=80office=E6=96=87=E6=A1=A3=E4=BA=86=20#74?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/file-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/file-config.js b/src/utils/file-config.js index c939bac..d8d7652 100644 --- a/src/utils/file-config.js +++ b/src/utils/file-config.js @@ -17,7 +17,7 @@ export default { }, // office回调url officeCallBackUrl: function(token, username, fileId) { - return `${window.location.origin}${this.baseUrl}/office/track?jmal-token=${token}&name=${username}&fileId=${fileId}` + return `http://jmalcloud:8088/office/track?jmal-token=${token}&name=${username}&fileId=${fileId}` }, // 预览文件的url previewUrl: function(username, file, token, shareToken) {