update 参数修改
This commit is contained in:
@@ -134,6 +134,7 @@ export default {
|
||||
connectEditor () {
|
||||
console.log(`${this.documentUrl}${this.$route.query.filePath}`)
|
||||
console.log(window._CONFIG.configUrl + 'page1/config.json')
|
||||
console.log(`${this.callbackUrl}laws-sinotruk/onlyoffice/recieveFile?fileId=${this.$route.query.fileId}&fileNm=${this.$route.query.fileName}&key=${this.$route.query.key}`)
|
||||
const nowTime = new Date().getTime()
|
||||
this.docEditor = new DocsAPI.DocEditor('iframeEditor', {
|
||||
width: '100%',
|
||||
@@ -149,7 +150,7 @@ export default {
|
||||
title: this.$route.query.fileName,
|
||||
url: `${this.documentUrl}${this.$route.query.filePath}`,
|
||||
fileType: this.$route.query.fileType,
|
||||
key: this.$route.query.key,
|
||||
key: this.$route.query.key + new Date().getTime(),
|
||||
info: {
|
||||
author: 'Me',
|
||||
created: 'Wed Oct 12 2022'
|
||||
|
||||
@@ -58,6 +58,7 @@ export default {
|
||||
filePath: data.editFilePath,
|
||||
fileName: data.fileName,
|
||||
fileType: 'docx',
|
||||
fileId: data.id,
|
||||
key: data.id
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user