路由跳转

This commit is contained in:
faiz 2024-08-20 10:02:36 +08:00
parent 9b4e02ed76
commit 564d29f372
2 changed files with 7 additions and 1 deletions

View File

@ -121,9 +121,10 @@ export default {
res.data.follow_message +
")个跟进提醒</strong>",
onClick: () => {
// console.log(res.data.follow_order_id);
this.$router.push({
path: "/order/index/",
query: { id: res.data.follow_order_id },
query: { id: res.data.follow_order_id, refresh: Date.now() },
});
},
});

View File

@ -700,6 +700,11 @@ export default {
return window.innerHeight - 320 + "px";
},
},
watch: {
$route(to, from) {
this.onInfo({ id: this.$route.query.id });
},
},
methods: {
setQuery(key) {
if (this.$route.query.hasOwnProperty(key)) {