From 3f1cf4b9b09daeab1293d2194138cf798cb6d25f Mon Sep 17 00:00:00 2001 From: zyronon Date: Tue, 5 Dec 2023 11:21:44 +0800 Subject: [PATCH] update ui --- src/components/list/DictItem.vue | 5 ----- src/router.ts | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/list/DictItem.vue b/src/components/list/DictItem.vue index da226f50..6dbbd768 100644 --- a/src/components/list/DictItem.vue +++ b/src/components/list/DictItem.vue @@ -86,11 +86,6 @@ const emit = defineEmits<{ &.active { background: var(--color-item-active); - color: var(--color-font-active-1); - - .desc { - color: var(--color-font-active-2); - } } &:hover { diff --git a/src/router.ts b/src/router.ts index 04fa4455..897b76f5 100644 --- a/src/router.ts +++ b/src/router.ts @@ -7,7 +7,7 @@ const routes: any[] = [ {path: '/practice', component: Practice}, {path: '/dict', name: 'dict', component: Dict}, {path: '/test', name: 'test', component: Test}, - {path: '/', redirect: '/test'}, + {path: '/', redirect: '/practice'}, ] const router = VueRouter.createRouter({