diff --git a/src/views/List.vue b/src/views/List.vue index d8480a9..e78c78d 100644 --- a/src/views/List.vue +++ b/src/views/List.vue @@ -43,7 +43,7 @@ export default { pageSize: 10, pageSizeOptions: ['10', '20', '30'], showTotal: (total, range) => { - return range[0] + '-' + range[1] + ' ' + '共' + total + '页' + return range[0] + '-' + range[1] + ' ' + '共' + total + '项' }, showQuickJumper: true, showSizeChanger: true, diff --git a/src/views/editor.vue b/src/views/editor.vue index c608a8d..a76225e 100644 --- a/src/views/editor.vue +++ b/src/views/editor.vue @@ -193,9 +193,9 @@ export default { // saveUrl: this.documentUrl + this.$route.query.filePath + this.$route.query.fileName, // 定义允许将文档保存到用户个人计算机上的绝对URL。 // embedUrl: this.documentUrl + this.$route.query.filePath + this.$route.query.fileName, // 定义文档的绝对URL,以作为嵌入到网页中的文档的源文件 // shareUrl: this.documentUrl + this.$route.query.filePath + this.fileName, // 定义允许其他用户共享此文档的绝对URL。 - saveUrl: this.documentUrl, // 定义允许将文档保存到用户个人计算机上的绝对URL。 - embedUrl: this.documentUrl, // 定义文档的绝对URL,以作为嵌入到网页中的文档的源文件 - shareUrl: this.documentUrl, // 定义允许其他用户共享此文档的绝对URL。 + saveUrl: `${this.documentUrl}${this.$route.query.filePath}`, // 定义允许将文档保存到用户个人计算机上的绝对URL。 + embedUrl: `${this.documentUrl}${this.$route.query.filePath}`, // 定义文档的绝对URL,以作为嵌入到网页中的文档的源文件 + shareUrl: `${this.documentUrl}${this.$route.query.filePath}`, // 定义允许其他用户共享此文档的绝对URL。 toolbarDocked: 'top' // 定义嵌入式查看器工具栏的位置,可以为top或bottom。 }, // 定制部分允许自定义编辑器界面,使其看起来像您的其他产品,并更改是否存在其他按钮,链接,更改徽标和编辑者所有者详细信息。