Commit e44c349f authored by 以墨为白's avatar 以墨为白 🎧

123

parent ae0bad3f
......@@ -13,7 +13,7 @@
var docEditor = new DocsAPI.DocEditor("placeholder", {
"document": {
"fileType": "pdf",
"fileType": "pptx",
"permissions": {
"edit": false,
"copy": false,
......@@ -22,8 +22,8 @@
"chat": false
},
// "key": "C8D7FB890BAC496FB0D27B163EDB88BDAA",
"title": "zf张飞.xlsx",
"url": "http://192.168.168.110:9006/document/739AEB35-8894-445B-BFF7-C10C9727222E.pdf?Content-Disposition=attachment%3B%20filename%3D%22739AEB35-8894-445B-BFF7-C10C9727222E.pdf%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231126%2F%2Fs3%2Faws4_request&X-Amz-Date=20231126T113625Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=a1b5fa773c90b649de410438494a1e7e94345c15bfdea7d639567449b4305136",
"title": "zf张飞.pptx",
"url": "http://192.168.168.110:9006/document/DD27367D-5680-46FF-9A6D-F248F4567511.pptx?Content-Disposition=attachment%3B%20filename%3D%22DD27367D-5680-46FF-9A6D-F248F4567511.pptx%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231127%2F%2Fs3%2Faws4_request&X-Amz-Date=20231127T031344Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=c5fb3f67663eb945adfe54b8f1783b08ed08a9704464bd86465459fc0ef6917e",
},
"height": "1000px",
"width": "100%",
......
<template>
<div>
</div>
</template>
<script>
export default {
props: ['url', "fileType", "filename"],
data() {
return {
};
},
mounted() {
var docEditor = new DocsAPI.DocEditor("placeholder", {
"document": {
"fileType": "pptx",
"permissions": {
"edit": false,
"copy": false,
"download": false,
"print": false,
"chat": false
},
// "key": "C8D7FB890BAC496FB0D27B163EDB88BDAA",
"title": "zf张飞.pptx",
"url": "http://192.168.168.110:9006/document/DD27367D-5680-46FF-9A6D-F248F4567511.pptx?Content-Disposition=attachment%3B%20filename%3D%22DD27367D-5680-46FF-9A6D-F248F4567511.pptx%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231127%2F%2Fs3%2Faws4_request&X-Amz-Date=20231127T031344Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=c5fb3f67663eb945adfe54b8f1783b08ed08a9704464bd86465459fc0ef6917e",
},
"height": "1000px",
"width": "100%",
"editorConfig": {
"mode": 'view',
"customization": {
//是否显示插件
"plugins": false,
"feedback": {
"url": "https://example.com",
"visible": false
},
"help": false
},
about: false,
}
});
}
}
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment