perf: 现在使用localhost访问可以正常打开office文档了 #74
This commit is contained in:
parent
48fdbe1c2e
commit
8cf5185b36
@ -17,7 +17,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// office回调url
|
// office回调url
|
||||||
officeCallBackUrl: function(token, username, fileId) {
|
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
|
// 预览文件的url
|
||||||
previewUrl: function(username, file, token, shareToken) {
|
previewUrl: function(username, file, token, shareToken) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user