提交 33349d17 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

面包屑fixe

上级 0ef50184
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
} }
}, },
created() { created() {
const vm = this;
}, },
mounted() { mounted() {
this.getResidentList({ this.getResidentList({
...@@ -357,6 +357,17 @@ ...@@ -357,6 +357,17 @@
} }
} }
},
beforeRouteEnter(to, from, next) {
next(vm=> {
if(from.name === 'planList') {
vm.curmbSecond = '计划管理'
vm.jumPathThird = '/followUp/plan-manage'
} else if(from.name === 'planDetail') {
vm.curmbSecond = '计划详情'
vm.jumPathThird = `/followUp/plan-manage/plan-detail?planId=${vm.$route.query.planId}`
}
})
} }
} }
</script> </script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册