diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index a6bf5e049..9345aee93 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -143,6 +143,7 @@ function setUserParams(watchedParams) { const where = JSON.parse(watchedParams?.filter)?.where; watchedParams = { ...watchedParams, ...where }; delete watchedParams.filter; + delete params.value?.filter; params.value = { ...params.value, ...watchedParams }; } @@ -225,6 +226,7 @@ defineExpose({ v-model="params" :disable-submit-event="true" :search-url="searchUrl" + :redirect="!!redirect" >