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 @@ + +