const newRoute = { title: '帮助123', path: `/${query.data.id}`, name:`${query.data.id}`, meta: { //byPassToken:true, //是否绕过token认证 title: '预览' }, component: () => import('@/views/helpPreview/index.vue'), }; this.$router.addRoute(newRoute); this.$router.push({ path: `/${query.data.id}`, query: { item: item } }) 在组件内部新增路由,并且进行跳转,但是 this.$router.addRoute(newRoute);添加的不是子路由,导致vue标签页不显示 