hotFix(VnPaginate): watch when is mounted

This commit is contained in:
Alex Moreno 2024-08-05 15:20:07 +02:00
parent 2faab84962
commit 6abce3c7d0
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ watch(
watch( watch(
() => [props.url, props.filter], () => [props.url, props.filter],
([url, filter]) => fetch({ url, filter }) ([url, filter]) => mounted.value && fetch({ url, filter })
); );
const addFilter = async (filter, params) => { const addFilter = async (filter, params) => {