diff --git a/src/components/ui/VnPaginate.vue b/src/components/ui/VnPaginate.vue index 37101dafe..c6f57b479 100644 --- a/src/components/ui/VnPaginate.vue +++ b/src/components/ui/VnPaginate.vue @@ -119,10 +119,9 @@ watch( ); watch( - () => [props.url, props.filter, props.userParams], - ([url, filter, userParams]) => mounted.value && fetch({ url, filter, userParams }) + () => [props.url, props.filter], + ([url, filter]) => mounted.value && fetch({ url, filter }) ); - const addFilter = async (filter, params) => { await arrayData.addFilter({ filter, params }); };