diff --git a/src/pages/Customer/Card/CustomerBalance.vue b/src/pages/Customer/Card/CustomerBalance.vue index ec836935c..2de0c37e6 100644 --- a/src/pages/Customer/Card/CustomerBalance.vue +++ b/src/pages/Customer/Card/CustomerBalance.vue @@ -122,6 +122,7 @@ onBeforeMount(() => { watch( () => route.params.id, (newValue) => { + if (!newValue) return; userParams.clientId = newValue; filter.where.clientFk = newValue; getData();