From 387967ca696b38ab6f3261ad55f019ec460dc5d0 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Mon, 9 Jun 2025 11:19:41 +0800 Subject: [PATCH] fix: knowledge --- ui/src/router/routes.ts | 2 +- ui/src/views/knowledge/index.vue | 86 +++++++++++++++----------------- 2 files changed, 40 insertions(+), 48 deletions(-) diff --git a/ui/src/router/routes.ts b/ui/src/router/routes.ts index 1b18a0d4a..908a31bde 100644 --- a/ui/src/router/routes.ts +++ b/ui/src/router/routes.ts @@ -6,7 +6,7 @@ export const routes: Array = [ { path: '/', name: 'home', - redirect: '/application', + redirect: '/knowledge', children: [...rolesRoutes], }, diff --git a/ui/src/views/knowledge/index.vue b/ui/src/views/knowledge/index.vue index 9f67b3611..1271ab7bd 100644 --- a/ui/src/views/knowledge/index.vue +++ b/ui/src/views/knowledge/index.vue @@ -19,9 +19,9 @@ style="width: 120px" @change="search_type_change" > - + - + - + {{ $t('common.create') }} - +