首先看图片 APP.vue 在你公共标签中加入if="!$route.meta.showNav" router/index.js 路由表 在不显示公共组件的页面中加上meta:{showNav:true}