From 991ad21c777eae42a571e36ea20681733917f907 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 24 Sep 2024 13:16:34 +0200 Subject: [PATCH] fix: refs #7155 remove userParams in watcher --- src/components/ui/VnPaginate.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 }); };