From 299f8c89a56fa9826d01e1218e6cdc0d187a84a5 Mon Sep 17 00:00:00 2001 From: yiran <239559238@qq.com> Date: Mon, 25 Jul 2022 17:52:33 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=B7=BB=E5=8A=A0=E7=BD=91?= =?UTF-8?q?=E7=AB=99=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/website.config.ts | 9 +++++++++ src/layout/components/Header/index.vue | 6 ++++-- src/layout/components/Logo/index.vue | 12 +++++++++--- src/views/login/index.vue | 6 +++--- 4 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 src/config/website.config.ts diff --git a/src/config/website.config.ts b/src/config/website.config.ts new file mode 100644 index 0000000..4a62d2c --- /dev/null +++ b/src/config/website.config.ts @@ -0,0 +1,9 @@ +import logoImage from '@/assets/images/logo.png'; +import loginImage from '@/assets/images/account-logo.png'; + +export const websiteConfig = Object.freeze({ + title: 'NaiveUiAdmin', + logo: logoImage, + loginImage: loginImage, + loginDesc: 'Naive Ui Admin中台前端/设计解决方案', +}); diff --git a/src/layout/components/Header/index.vue b/src/layout/components/Header/index.vue index bb7e67f..5490d2c 100644 --- a/src/layout/components/Header/index.vue +++ b/src/layout/components/Header/index.vue @@ -6,8 +6,8 @@ v-if="navMode === 'horizontal' || (navMode === 'horizontal-mix' && mixMenu)" > - diff --git a/src/views/login/index.vue b/src/views/login/index.vue index f78a343..e1f4aa4 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -4,9 +4,9 @@