From 63534d3eb523f325a35dcae87740a6fb578baceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E8=8D=A3=E8=B6=85?= <302645122@qq.com> Date: Sat, 12 Feb 2022 11:54:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E5=9B=BE=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/components/Drawio.vue | 217 ++++++++++++++++++ .../pages/manage/components/FileContent.vue | 5 +- 2 files changed, 220 insertions(+), 2 deletions(-) create mode 100644 resources/assets/js/components/Drawio.vue diff --git a/resources/assets/js/components/Drawio.vue b/resources/assets/js/components/Drawio.vue new file mode 100644 index 00000000..fdfa5d5d --- /dev/null +++ b/resources/assets/js/components/Drawio.vue @@ -0,0 +1,217 @@ + + + + diff --git a/resources/assets/js/pages/manage/components/FileContent.vue b/resources/assets/js/pages/manage/components/FileContent.vue index 61838570..0170f1bb 100644 --- a/resources/assets/js/pages/manage/components/FileContent.vue +++ b/resources/assets/js/pages/manage/components/FileContent.vue @@ -50,7 +50,7 @@ - + @@ -71,10 +71,11 @@ const TEditor = () => import('../../../components/TEditor'); const Flow = () => import('../../../components/Flow'); const AceEditor = () => import('../../../components/AceEditor'); const OnlyOffice = () => import('../../../components/OnlyOffice'); +const Drawio = () => import('../../../components/Drawio'); export default { name: "FileContent", - components: {AceEditor, TEditor, MDEditor, Flow, OnlyOffice}, + components: {AceEditor, TEditor, MDEditor, Flow, OnlyOffice,Drawio}, props: { value: { type: Boolean,