From 7f67f482da8f324ade1a3f061342b43b7ba25a63 Mon Sep 17 00:00:00 2001 From: MTrun <1262327911@qq.com> Date: Thu, 16 Dec 2021 20:08:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=81=E8=A3=85header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Application/Application.vue | 2 -- src/layout/components/Header/index.ts | 3 ++ src/layout/components/Header/index.vue | 35 ++++++++++++++++++++++ src/layout/components/Main/index.vue | 2 +- src/router/index.ts | 5 ++-- src/router/router-guards.ts | 4 +-- src/utils/canvas.ts | 0 src/views/login/index.vue | 13 ++++---- 8 files changed, 49 insertions(+), 15 deletions(-) create mode 100644 src/layout/components/Header/index.ts create mode 100644 src/layout/components/Header/index.vue create mode 100644 src/utils/canvas.ts diff --git a/src/components/Application/Application.vue b/src/components/Application/Application.vue index 3f97fc59..53f89c65 100644 --- a/src/components/Application/Application.vue +++ b/src/components/Application/Application.vue @@ -27,8 +27,6 @@ import { NLoadingBarProvider } from 'naive-ui' -// @ts-ignore import { MessageContent } from '@/components/MessageContent' -// @ts-ignore import { DialogContent } from '@/components/DialogContent' diff --git a/src/layout/components/Header/index.ts b/src/layout/components/Header/index.ts new file mode 100644 index 00000000..783e7c6e --- /dev/null +++ b/src/layout/components/Header/index.ts @@ -0,0 +1,3 @@ +import Header from './index.vue' + +export { Header } \ No newline at end of file diff --git a/src/layout/components/Header/index.vue b/src/layout/components/Header/index.vue new file mode 100644 index 00000000..e9714dcb --- /dev/null +++ b/src/layout/components/Header/index.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/layout/components/Main/index.vue b/src/layout/components/Main/index.vue index c2b57373..34d082de 100644 --- a/src/layout/components/Main/index.vue +++ b/src/layout/components/Main/index.vue @@ -1,7 +1,7 @@