Skip to content

Commit

Permalink
remove search
Browse files Browse the repository at this point in the history
  • Loading branch information
krank666 committed Dec 16, 2022
1 parent 34635cd commit 3a6adca
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
88 changes: 44 additions & 44 deletions src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ const baseRoutes: Array<RouteConfig> = [
// },
// 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',
Expand Down Expand Up @@ -201,17 +201,17 @@ const routes: Array<RouteConfig> = [
// },
// 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',
Expand Down Expand Up @@ -561,17 +561,17 @@ const adminRoutes: Array<RouteConfig> = [
// },
// 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',
Expand Down Expand Up @@ -934,17 +934,17 @@ const userRoutes: Array<RouteConfig> = [
},
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',
Expand Down
4 changes: 2 additions & 2 deletions src/views/layout/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<el-button type="text" class="anent" @click="buildIAST">
<i class="el-icon-plus"></i> {{ $t('base.deploy') }}
</el-button>
<div class="icon-btn" @click="$router.push({ name: 'taint' })">
<!-- <div class="icon-btn" @click="$router.push({ name: 'taint' })">
<el-tooltip
class="item"
effect="dark"
Expand All @@ -70,7 +70,7 @@
>
<span class="icon iconfont">&#xe6a2;</span>
</el-tooltip>
</div>
</div> -->
<div class="icon-btn" @click="$router.push({ name: 'setting' })">
<el-tooltip
class="item"
Expand Down

0 comments on commit 3a6adca

Please sign in to comment.