Skip to content

Commit 3a6adca

Browse files
committed
remove search
1 parent 34635cd commit 3a6adca

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

src/router/routes.ts

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ const baseRoutes: Array<RouteConfig> = [
4242
// },
4343
// component: () => import('@/views/taint/Pool.vue'),
4444
// },
45-
{
46-
path: 'search',
47-
name: 'search',
48-
meta: {
49-
keepAlive: true,
50-
disabled: true,
51-
i18n: 'menu.taintPool',
52-
name: i18n.t('menu.taintPool'),
53-
},
54-
component: () => import('@/views/taint/Search.vue'),
55-
},
45+
// {
46+
// path: 'search',
47+
// name: 'search',
48+
// meta: {
49+
// keepAlive: true,
50+
// disabled: true,
51+
// i18n: 'menu.taintPool',
52+
// name: i18n.t('menu.taintPool'),
53+
// },
54+
// component: () => import('@/views/taint/Search.vue'),
55+
// },
5656
{
5757
path: 'poolDetail/:id',
5858
name: 'poolDetail',
@@ -201,17 +201,17 @@ const routes: Array<RouteConfig> = [
201201
// },
202202
// component: () => import('@/views/taint/Pool.vue'),
203203
// },
204-
{
205-
path: 'search',
206-
name: 'search',
207-
meta: {
208-
keepAlive: true,
209-
disabled: true,
210-
i18n: 'menu.taintPool',
211-
name: i18n.t('menu.taintPool'),
212-
},
213-
component: () => import('@/views/taint/Search.vue'),
214-
},
204+
// {
205+
// path: 'search',
206+
// name: 'search',
207+
// meta: {
208+
// keepAlive: true,
209+
// disabled: true,
210+
// i18n: 'menu.taintPool',
211+
// name: i18n.t('menu.taintPool'),
212+
// },
213+
// component: () => import('@/views/taint/Search.vue'),
214+
// },
215215
{
216216
path: 'poolDetail/:id',
217217
name: 'poolDetail',
@@ -561,17 +561,17 @@ const adminRoutes: Array<RouteConfig> = [
561561
// },
562562
// component: () => import('@/views/taint/Pool.vue'),
563563
// },
564-
{
565-
path: 'search',
566-
name: 'search',
567-
meta: {
568-
keepAlive: true,
569-
disabled: true,
570-
i18n: 'menu.taintPool',
571-
name: i18n.t('menu.taintPool'),
572-
},
573-
component: () => import('@/views/taint/Search.vue'),
574-
},
564+
// {
565+
// path: 'search',
566+
// name: 'search',
567+
// meta: {
568+
// keepAlive: true,
569+
// disabled: true,
570+
// i18n: 'menu.taintPool',
571+
// name: i18n.t('menu.taintPool'),
572+
// },
573+
// component: () => import('@/views/taint/Search.vue'),
574+
// },
575575
{
576576
path: 'poolDetail/:id',
577577
name: 'poolDetail',
@@ -934,17 +934,17 @@ const userRoutes: Array<RouteConfig> = [
934934
},
935935
component: () => import('@/views/taint/Index.vue'),
936936
children: [
937-
{
938-
path: 'search',
939-
name: 'search',
940-
meta: {
941-
keepAlive: true,
942-
disabled: true,
943-
i18n: 'menu.taintPool',
944-
name: i18n.t('menu.taintPool'),
945-
},
946-
component: () => import('@/views/taint/Search.vue'),
947-
},
937+
// {
938+
// path: 'search',
939+
// name: 'search',
940+
// meta: {
941+
// keepAlive: true,
942+
// disabled: true,
943+
// i18n: 'menu.taintPool',
944+
// name: i18n.t('menu.taintPool'),
945+
// },
946+
// component: () => import('@/views/taint/Search.vue'),
947+
// },
948948
{
949949
path: 'poolDetail/:id',
950950
name: 'poolDetail',

src/views/layout/Header.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<el-button type="text" class="anent" @click="buildIAST">
6262
<i class="el-icon-plus"></i> {{ $t('base.deploy') }}
6363
</el-button>
64-
<div class="icon-btn" @click="$router.push({ name: 'taint' })">
64+
<!-- <div class="icon-btn" @click="$router.push({ name: 'taint' })">
6565
<el-tooltip
6666
class="item"
6767
effect="dark"
@@ -70,7 +70,7 @@
7070
>
7171
<span class="icon iconfont">&#xe6a2;</span>
7272
</el-tooltip>
73-
</div>
73+
</div> -->
7474
<div class="icon-btn" @click="$router.push({ name: 'setting' })">
7575
<el-tooltip
7676
class="item"

0 commit comments

Comments
 (0)