部署代理问题

This commit is contained in:
hanchaobo
2024-05-06 09:55:44 +08:00
parent 8abe87edda
commit fe6b8752d9
4 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -449,10 +449,10 @@ export default {
}
let token = sessionStorage.getItem("token");
window.open(
// `http://121.40.189.20:8002/onlyoffice?id=${item.onlyOfficeFileId}&flag=${flag}&token=${token}`,
// "_black"
`http://localhost:81/onlyoffice?id=${item.onlyOfficeFileId}&flag=${flag}&token=${token}`,
`http://121.40.189.20:9002/onlyoffice?id=${item.onlyOfficeFileId}&flag=${flag}&token=${token}`,
"_black"
// `http://localhost:81/onlyoffice?id=${item.onlyOfficeFileId}&flag=${flag}&token=${token}`,
// "_black"
);
} else {
window.open(window.location.origin + '/tiaojie' + item.annexPath, "_black");