diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index e4f47ea..50b7f0b 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -3607,6 +3607,10 @@ export default { this.newCreateFileDialogTitle = '新建Word文档' this.createNewFile('docx') break + case 'createExcalidrawFile': + this.newCreateFileDialogTitle = '新建白板' + this.createNewFile('excalidraw') + break case 'createExcelFile': this.newCreateFileDialogTitle = '新建Excel工作表' this.createNewFile('xlsx') diff --git a/src/components/office/ExcalidrawEditor.vue b/src/components/office/ExcalidrawEditor.vue new file mode 100644 index 0000000..20d709f --- /dev/null +++ b/src/components/office/ExcalidrawEditor.vue @@ -0,0 +1,408 @@ + + + + + diff --git a/src/components/preview/IframePreview.vue b/src/components/preview/IframePreview.vue index 30d56d6..fe2031f 100644 --- a/src/components/preview/IframePreview.vue +++ b/src/components/preview/IframePreview.vue @@ -19,6 +19,7 @@ + @@ -31,6 +32,7 @@