Commit a501f276 by amateur

修改配置

1 parent 9106c794
......@@ -4,7 +4,9 @@ const Routers = [
name: 'News',
meta: {
title: '新闻动态',
isLogin: false
isLogin: false,
keepAlive: true,
keepAlivePage: ['NewsSearch']
},
component: () => import(/* webpackChunkName: "News" */ '@/views/news/index.vue') // 新闻动态
},
......
......@@ -119,7 +119,17 @@
"url": "/home",
"title": "首页",
"class": "block red"
}
},
{
"url": "/news",
"title": "新闻动态",
"class": "block red"
},
{
"url": "/selfregulating",
"title": "自律规则",
"class": "block red"
},
]
},
{
......
......@@ -38,7 +38,7 @@ export default {
]
},
handleSearch () {
this.$router.push({ name: 'SelfRegulatingSearch' })
this.$router.push({ name: 'NewsSearch' })
},
initKeywordListener () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!