Commit b45c2c03 authored by 张伯涛's avatar 张伯涛

修改

parent eb1d3874
......@@ -78,7 +78,11 @@ export const constantRoutes = [
path: 'index',
component: () => import('@/views/index'),
name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }
meta: { title: '首页', icon: 'dashboard', noCache: true }
// meta: { title: '首页', icon: 'dashboard', affix: true }
// noCache表示没有缓存,也就是说每次打开首页都刷新
// affix表示固定,也就是说,不能关闭该标签页
}
]
},
......
......@@ -87,11 +87,7 @@ export default {
CumulativeData: [], // 累计数据
};
},
// beforeRouteEnter() {
// console.log('beforeRouteEnterbeforeRouteEnter')
// },
created() {
// console.log('createdcreatedcreated')
this.getList()
},
mounted() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment