Przeglądaj źródła

[VersionBeta] V.1.0.0.0

[Adds]
1.修改pdf预览
new-cli
xzx 4 lat temu
rodzic
commit
e21e941802
1 zmienionych plików z 1 dodań i 9 usunięć
  1. +1
    -9
      src/views/main_web/workspace.vue

+ 1
- 9
src/views/main_web/workspace.vue Wyświetl plik

@@ -3546,15 +3546,7 @@ export default {
this.officeTitle = file.archName + "." + file.extension;
if (file.extension == "pdf") {
this.showOffice = true;
var fileUrl =
encodeURIComponent(process.env.API_HOST + "archives/pdf?path=") +
encodeURIComponent(file.alias) +
"&filename=" +
encodeURIComponent(file.archName);
this.officeUrl =
process.env.API_WEB +
"static/pdfjs-2.2.228-dist/web/viewer.html?file=" +
fileUrl;
this.officeUrl = process.env.OFFICE_WEB + "?furl=" + file.alias;
this.$axios({
method: "delete",
url: encodeURI(


Ładowanie…
Anuluj
Zapisz