Handle more watchs route changes bugs
This commit is contained in:
parent
91bd396eab
commit
41e1bad44d
|
@ -56,6 +56,7 @@ onBeforeMount(() => {
|
|||
watch(
|
||||
() => route.params.id,
|
||||
(newValue) => {
|
||||
if (!newValue) return;
|
||||
getAddressesData(newValue);
|
||||
getClientData(newValue);
|
||||
}
|
||||
|
|
|
@ -38,6 +38,7 @@ onBeforeMount(() => {
|
|||
watch(
|
||||
() => route.params.id,
|
||||
(newValue) => {
|
||||
if (!newValue) return;
|
||||
getData(newValue);
|
||||
}
|
||||
);
|
||||
|
|
|
@ -98,6 +98,7 @@ onBeforeMount(() => {
|
|||
watch(
|
||||
() => route.params.id,
|
||||
(newValue) => {
|
||||
if (!newValue) return;
|
||||
getData(newValue);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue