根据路由判断从哪个页面跳转 跳至哪里
watch: {
$route (to, from) {
if (from.meta.title === '结算申请详情') {
this.getList(this.getParams())
}
}
} // 判断从详情跳转至列表页 重新调用列表方法
根据路由判断从哪个页面跳转 跳至哪里
watch: {
$route (to, from) {
if (from.meta.title === '结算申请详情') {
this.getList(this.getParams())
}
}
} // 判断从详情跳转至列表页 重新调用列表方法