From 95a6ee9fc93121beb23b34ef55818eb07e34d2dd Mon Sep 17 00:00:00 2001 From: ktianc Date: Sat, 7 Oct 2023 13:39:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E9=A1=B5=E5=88=B7=E6=96=B0=E5=90=8E404=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kinit-admin/src/router/index.ts | 17 ++++++++++++ kinit-admin/src/views/Redirect/Redirect.vue | 30 +++++++++++++++++++++ kinit-api/application/settings.py | 2 +- 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 kinit-admin/src/views/Redirect/Redirect.vue diff --git a/kinit-admin/src/router/index.ts b/kinit-admin/src/router/index.ts index 0d1aa2c..927cac7 100644 --- a/kinit-admin/src/router/index.ts +++ b/kinit-admin/src/router/index.ts @@ -33,6 +33,23 @@ export const constantRouterMap: AppRouteRecordRaw[] = [ } ] }, + { + path: '/redirect', + component: Layout, + name: 'Redirect', + children: [ + { + path: '/redirect/:path(.*)', + name: 'Redirect', + component: () => import('@/views/Redirect/Redirect.vue'), + meta: {} + } + ], + meta: { + hidden: true, + noTagsView: true + } + }, { path: '/login', component: () => import('@/views/Login/Login.vue'), diff --git a/kinit-admin/src/views/Redirect/Redirect.vue b/kinit-admin/src/views/Redirect/Redirect.vue new file mode 100644 index 0000000..0b7af7b --- /dev/null +++ b/kinit-admin/src/views/Redirect/Redirect.vue @@ -0,0 +1,30 @@ + + diff --git a/kinit-api/application/settings.py b/kinit-api/application/settings.py index 43add44..d487941 100644 --- a/kinit-api/application/settings.py +++ b/kinit-api/application/settings.py @@ -11,7 +11,7 @@ """ 系统版本 """ -VERSION = "3.0.0" +VERSION = "3.0.1" """安全警告: 不要在生产中打开调试运行!""" DEBUG = False