zhuliu 10 months ago
parent
commit
657eac7fe1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/VabOnlyOffice/index.vue

+ 1 - 1
src/components/VabOnlyOffice/index.vue

@@ -171,7 +171,7 @@ import mixins from './index.js'
           documentType: this.doctype,
           editorConfig: {
             // callbackUrl: 'http://192.168.2.24:8803/Test/TestQuery',//"编辑word后保存时回调的地址,这个api需要自己写了,将编辑后的文件通过这个api保存到自己想要的位置
-            callbackUrl: `http://192.168.2.103:5000/onlyOffice/callback?guid=${option.id}&created=${option.created}&user=${JSON.stringify(user)}&previousVersion=${option.version}`,//"编辑word后保存时回调的地址,这个api需要自己写了,将编辑后的文件通过这个api保存到自己想要的位置
+            callbackUrl: `http://192.168.2.103:5000/onlyOffice/callback?guid=${option.id}&fileName=${option.title}&created=${option.created}&user=${JSON.stringify(user)}&previousVersion=${option.version}`,//"编辑word后保存时回调的地址,这个api需要自己写了,将编辑后的文件通过这个api保存到自己想要的位置
             lang: option.lang,//语言设置
             //定制
             customization: {