From 3a6adca0d506f84dabf598815420d8011af3265c Mon Sep 17 00:00:00 2001 From: krank Date: Fri, 16 Dec 2022 16:09:36 +0800 Subject: [PATCH] remove search --- src/router/routes.ts | 88 ++++++++++++++++++------------------- src/views/layout/Header.vue | 4 +- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/src/router/routes.ts b/src/router/routes.ts index e71d84a2..3a6ac47b 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -42,17 +42,17 @@ const baseRoutes: Array = [ // }, // component: () => import('@/views/taint/Pool.vue'), // }, - { - path: 'search', - name: 'search', - meta: { - keepAlive: true, - disabled: true, - i18n: 'menu.taintPool', - name: i18n.t('menu.taintPool'), - }, - component: () => import('@/views/taint/Search.vue'), - }, + // { + // path: 'search', + // name: 'search', + // meta: { + // keepAlive: true, + // disabled: true, + // i18n: 'menu.taintPool', + // name: i18n.t('menu.taintPool'), + // }, + // component: () => import('@/views/taint/Search.vue'), + // }, { path: 'poolDetail/:id', name: 'poolDetail', @@ -201,17 +201,17 @@ const routes: Array = [ // }, // component: () => import('@/views/taint/Pool.vue'), // }, - { - path: 'search', - name: 'search', - meta: { - keepAlive: true, - disabled: true, - i18n: 'menu.taintPool', - name: i18n.t('menu.taintPool'), - }, - component: () => import('@/views/taint/Search.vue'), - }, + // { + // path: 'search', + // name: 'search', + // meta: { + // keepAlive: true, + // disabled: true, + // i18n: 'menu.taintPool', + // name: i18n.t('menu.taintPool'), + // }, + // component: () => import('@/views/taint/Search.vue'), + // }, { path: 'poolDetail/:id', name: 'poolDetail', @@ -561,17 +561,17 @@ const adminRoutes: Array = [ // }, // component: () => import('@/views/taint/Pool.vue'), // }, - { - path: 'search', - name: 'search', - meta: { - keepAlive: true, - disabled: true, - i18n: 'menu.taintPool', - name: i18n.t('menu.taintPool'), - }, - component: () => import('@/views/taint/Search.vue'), - }, + // { + // path: 'search', + // name: 'search', + // meta: { + // keepAlive: true, + // disabled: true, + // i18n: 'menu.taintPool', + // name: i18n.t('menu.taintPool'), + // }, + // component: () => import('@/views/taint/Search.vue'), + // }, { path: 'poolDetail/:id', name: 'poolDetail', @@ -934,17 +934,17 @@ const userRoutes: Array = [ }, component: () => import('@/views/taint/Index.vue'), children: [ - { - path: 'search', - name: 'search', - meta: { - keepAlive: true, - disabled: true, - i18n: 'menu.taintPool', - name: i18n.t('menu.taintPool'), - }, - component: () => import('@/views/taint/Search.vue'), - }, + // { + // path: 'search', + // name: 'search', + // meta: { + // keepAlive: true, + // disabled: true, + // i18n: 'menu.taintPool', + // name: i18n.t('menu.taintPool'), + // }, + // component: () => import('@/views/taint/Search.vue'), + // }, { path: 'poolDetail/:id', name: 'poolDetail', diff --git a/src/views/layout/Header.vue b/src/views/layout/Header.vue index 1ebf0183..3ffbc18d 100644 --- a/src/views/layout/Header.vue +++ b/src/views/layout/Header.vue @@ -61,7 +61,7 @@ {{ $t('base.deploy') }} -
+