From 3a53910c3ec36e2bbe487ff28a9910de1f431a86 Mon Sep 17 00:00:00 2001 From: chansee97 Date: Sat, 16 Mar 2024 19:19:45 +0800 Subject: [PATCH] fix: remove appRouter hook --- src/components/common/ErrorTip.vue | 11 ++--- src/components/common/appLoading.vue | 4 +- src/hooks/index.ts | 1 - src/hooks/useAppRouter.ts | 58 ----------------------- src/hooks/useSystem.ts | 14 ------ src/layouts/components/sider/Logo.vue | 8 ++-- src/layouts/components/tab/TabBar.vue | 8 ++-- src/router/guard/permission.ts | 21 ++++---- src/store/auth.ts | 22 +++++---- src/store/route.ts | 8 ++-- src/store/tab.ts | 12 ++--- src/views/permission/permission/index.vue | 6 ++- src/views/test/test2/index.vue | 6 +-- 13 files changed, 52 insertions(+), 127 deletions(-) delete mode 100644 src/hooks/useAppRouter.ts diff --git a/src/components/common/ErrorTip.vue b/src/components/common/ErrorTip.vue index b39a85c..7d5656e 100644 --- a/src/components/common/ErrorTip.vue +++ b/src/components/common/ErrorTip.vue @@ -1,12 +1,9 @@ - - diff --git a/src/components/common/appLoading.vue b/src/components/common/appLoading.vue index c3709c3..88b04b7 100644 --- a/src/components/common/appLoading.vue +++ b/src/components/common/appLoading.vue @@ -1,7 +1,5 @@