Commit 9f28b514 authored by 以墨为白's avatar 以墨为白 🎧

1

parent 1b7a56ba
...@@ -12,38 +12,32 @@ ...@@ -12,38 +12,32 @@
<script> <script>
var docEditor = new DocsAPI.DocEditor("placeholder", { var docEditor = new DocsAPI.DocEditor("placeholder", {
document: { "document": {
fileType: "xlsx", "fileType": "txt",
// "permissions": { "permissions": {
// "edit": false, "edit": false,
// }, "copy": false,
"download": false,
"print": false,
},
// "key": "C8D7FB890BAC496FB0D27B163EDB88BDAA", // "key": "C8D7FB890BAC496FB0D27B163EDB88BDAA",
title: "zf张飞.xlsx", "title": "zf张飞.xlsx",
url: "http://192.168.168.110:9006/document/B56CA250-26F0-45E3-8E5A-EB19CC8C94E1.xlsx?Content-Disposition=attachment%3B%20filename%3D%22B56CA250-26F0-45E3-8E5A-EB19CC8C94E1.xlsx%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231125%2F%2Fs3%2Faws4_request&X-Amz-Date=20231125T150951Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=68ad239e4aba910b5c68b409ef84e79be53bfff0ca070d3ba6ca3d203ce7dd2f", "url": "http://192.168.168.110:9006/document/3848F6DD-ED8A-4C8C-A49A-9232758B2AB3.txt?Content-Disposition=attachment%3B%20filename%3D%223848F6DD-ED8A-4C8C-A49A-9232758B2AB3.txt%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20231126%2F%2Fs3%2Faws4_request&X-Amz-Date=20231126T023657Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=4a7542c75dd911eeaa2d4cef5c91f6d9282bf1210986288e7c5587cec282f8f8",
}, },
height: "1000px", "height": "1000px",
width: "100%", "width": "100%",
editorConfig: { "editorConfig": {
mode: 'view', "mode": 'view',
customization: { "customization": {
//是否显示插件 //是否显示插件
plugins: false, "plugins": false,
"feedback": {
"url": "https://example.com",
"visible": false
},
"help": false
}, },
about: false, about: false,
chat: false,
comments: false,
zoom: 100,
compactToolbar: false,
leftMenu: false,
rightMenu: false,
toolbar: false,
header: false,
statusBar: false,
autosave: false,
forcesave: false,
commentAuthorOnly: false,
showReviewChanges: false
} }
}); });
......
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