一在路由表中配置meta标签 { path:'/classify', name:'classify', component:classify, meta:{ title:'分类' } 二在min.js中用全局钩子做出改变 router.beforeEach((to, from, next) => { if(to.meta.title){ document.title = to.meta.title } next() }),