From 797cf9634948735b3be44b0df1ff5401730cd007 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu <1171051090@qq.com> Date: Sun, 31 Jan 2021 17:17:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BF=AB=E6=8D=B7=E9=94=AE?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 2 + src/views/Editor/EditorHeader/index.vue | 119 +++++++++++++++++++++++- 2 files changed, 117 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index c89a4acc..6b731d65 100644 --- a/src/main.ts +++ b/src/main.ts @@ -35,6 +35,7 @@ import { Dropdown, Menu, Checkbox, + Drawer, } from 'ant-design-vue' const app = createApp(App) @@ -60,6 +61,7 @@ app.component('Dropdown', Dropdown) app.component('Menu', Menu) app.component('MenuItem', Menu.Item) app.component('Checkbox', Checkbox) +app.component('Drawer', Drawer) app.directive('contextmenu', Contextmenu) app.directive('click-outside', ClickOutside) diff --git a/src/views/Editor/EditorHeader/index.vue b/src/views/Editor/EditorHeader/index.vue index 71280cca..156741f8 100644 --- a/src/views/Editor/EditorHeader/index.vue +++ b/src/views/Editor/EditorHeader/index.vue @@ -27,9 +27,8 @@ @@ -45,17 +44,97 @@ + + +
+ +
+