diff --git a/src/permission.ts b/src/permission.ts index d6885a1..68aeb3c 100644 --- a/src/permission.ts +++ b/src/permission.ts @@ -3,7 +3,7 @@ * @Autor: YDKD * @Date: 2022-03-20 08:41:57 * @LastEditors: YDKD - * @LastEditTime: 2022-05-05 22:09:26 + * @LastEditTime: 2022-07-16 14:50:06 */ import { getRoutes } from './api/getApi' import { useNProgress, useTitle, useCache } from './hooks' @@ -20,14 +20,7 @@ const permissionStore = usePermissionStoreWithOut() const { storageCache } = useCache() -const whiteRouteList = [ - '/login', - '/register', - '/reset-pass', - '/test-1', - '/test-2', - '/test-3' -] +const whiteRouteList = ['/login', '/register', '/reset-pass'] router.beforeEach(async (to, from, next) => { start() diff --git a/src/router/index.ts b/src/router/index.ts index 54e1acc..d2e6cce 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -14,27 +14,6 @@ const routes: RouteRecordRaw[] = [ title: '登录' } }, - { - path: '/test-1', - component: () => import('@/views/test/index.vue'), - meta: { - title: '通行扫码' - } - }, - { - path: '/test-2', - component: () => import('@/views/test/a.vue'), - meta: { - title: '通行扫码' - } - }, - { - path: '/test-3', - component: () => import('@/views/test/b.vue'), - meta: { - title: '通行扫码' - } - }, { path: '/register', component: () => import('@/views/register/index.vue'), diff --git a/src/views/manage/hooks/useTable.ts b/src/views/manage/hooks/useTable.ts index 39d5cc1..de4844d 100644 --- a/src/views/manage/hooks/useTable.ts +++ b/src/views/manage/hooks/useTable.ts @@ -3,7 +3,7 @@ * @Autor: YDKD * @Date: 2022-04-01 15:25:58 * @LastEditors: YDKD - * @LastEditTime: 2022-04-05 15:34:43 + * @LastEditTime: 2022-07-16 10:07:21 */ import { ref } from 'vue' import router from '@/router' diff --git a/src/views/test/a.vue b/src/views/test/a.vue deleted file mode 100644 index deb5e6e..0000000 --- a/src/views/test/a.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/src/views/test/b.vue b/src/views/test/b.vue deleted file mode 100644 index d4d4a2f..0000000 --- a/src/views/test/b.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/src/views/test/index.vue b/src/views/test/index.vue deleted file mode 100644 index 9ae74ff..0000000 --- a/src/views/test/index.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - -