update 路径修改
This commit is contained in:
@@ -132,9 +132,10 @@ export default {
|
||||
console.log(12)
|
||||
},
|
||||
connectEditor () {
|
||||
console.log(this.$route.query)
|
||||
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}`)
|
||||
console.log(`${this.callbackUrl}laws-sinotruk/onlyOffice/receiveFile?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%',
|
||||
@@ -152,7 +153,7 @@ export default {
|
||||
fileType: this.$route.query.fileType,
|
||||
key: this.$route.query.key + new Date().getTime(),
|
||||
info: {
|
||||
author: 'Me',
|
||||
author: this.$route.query.userName,
|
||||
created: 'Wed Oct 12 2022'
|
||||
},
|
||||
permissions: {
|
||||
@@ -182,8 +183,7 @@ export default {
|
||||
query: {
|
||||
id: 123456
|
||||
},
|
||||
callbackUrl:
|
||||
`${this.callbackUrl}laws-sinotruk/onlyoffice/recieveFile?fileId=${this.$route.query.fileId}&fileNm=${this.$route.query.fileName}&key=${this.$route.query.key}`,
|
||||
callbackUrl: `${this.callbackUrl}laws-sinotruk/onlyOffice/receiveFile?fileId=${this.$route.query.fileId}&fileNm=${this.$route.query.fileName}&key=${this.$route.query.key}`,
|
||||
user: {
|
||||
id: this.$route.query.userId,
|
||||
name: this.$route.query.userName
|
||||
|
||||
Reference in New Issue
Block a user