Commit 5a6731fa by zhangxw

分享失效 可查看车辆列表

1 parent b2f09c50
......@@ -219,6 +219,7 @@ export default defineComponent({
localStorage.setItem("sharePage", JSON.parse(route.query.sharePage));
isSharePage.value = JSON.parse(route.query.sharePage);
}
getCarList();
routeQuery.value = route.query;
if (newVal && routeQuery.value.sn) {
if (route.query.sharePage && JSON.parse(route.query.sharePage)) {
......@@ -259,7 +260,6 @@ export default defineComponent({
: routeQuery.value.vin,
};
getCarInfo(carItem.value);
getCarList();
}
}
});
......@@ -280,11 +280,8 @@ export default defineComponent({
: routeQuery.value.vin,
};
getCarInfo(carItem.value);
getCarList();
}
return;
}
getCarList();
});
// 看板跳转 监听sn变化请求数据
watch(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!