From 9e8907ce2102759427984f84214789ebc70cb58b Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Mon, 15 Aug 2022 11:59:27 +0800 Subject: [PATCH] chore: update --- .gitpod.yml | 2 +- src/layout/components/sidebar/horizontal.vue | 47 ++++------------ src/layout/components/sidebar/logo.vue | 6 +-- src/layout/components/sidebar/mixNav.vue | 56 ++++---------------- src/layout/components/sidebar/vertical.vue | 8 +-- src/layout/hooks/nav.ts | 25 ++++++--- src/layout/hooks/useDataThemeChange.ts | 10 +--- src/layout/hooks/useTranslationLang.ts | 10 ++-- src/views/login/index.vue | 6 +-- types/global.d.ts | 1 + 10 files changed, 56 insertions(+), 115 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 40a855a97..57324a3b8 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -2,4 +2,4 @@ ports: - port: 3344 onOpen: open-preview tasks: - - init: npm install && npm run serve + - init: pnpm install && pnpm serve diff --git a/src/layout/components/sidebar/horizontal.vue b/src/layout/components/sidebar/horizontal.vue index 4b50b8a6c..ad0836f84 100644 --- a/src/layout/components/sidebar/horizontal.vue +++ b/src/layout/components/sidebar/horizontal.vue @@ -1,39 +1,32 @@