Browse Source

修复onlyoffice文件无法编辑bug

cfort 3 years ago
parent
commit
2d2da3f9cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/business/platform/file/attachment/editFile/editor.vue

+ 1 - 1
src/business/platform/file/attachment/editFile/editor.vue

@@ -89,7 +89,7 @@ export default {
         },
         documentType: this.doctype,
         editorConfig: {
-          callbackUrl: option.editUrl,
+          callbackUrl: option.editUrl + '&access_token=' + getToken(),
           lang: 'zh',
           canHistoryRestore:true,
           canUseHistory:true,