1.在router文件中设置meta属性
const routes = [{
path: '/home',
component: Home,
meta:{
isShowTabBar:true//显示
}
1.在router文件中设置meta属性
const routes = [{
path: '/home',
component: Home,
meta:{
isShowTabBar:true//显示
}