From 3c810254a4bbae2b6839bfa00e116b6aabfb0ebe Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 25 Jun 2024 11:40:07 +0200 Subject: [PATCH] fix: refs #7623 redirect --- src/components/ui/VnFilterPanel.vue | 2 +- src/components/ui/VnNotes.vue | 2 +- src/components/ui/VnPaginate.vue | 6 +----- src/pages/Order/Card/OrderCatalogFilter.vue | 1 + src/pages/Order/OrderCatalog.vue | 1 - src/pages/Supplier/Card/SupplierConsumption.vue | 10 ++++++---- src/pages/Supplier/Card/SupplierConsumptionFilter.vue | 2 +- 7 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index 218e28600..3c1a4c8a5 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -60,7 +60,7 @@ const emit = defineEmits(['refresh', 'clear', 'search', 'init', 'remove']); const arrayData = useArrayData($props.dataKey, { exprBuilder: $props.exprBuilder, searchUrl: $props.searchUrl, - navigate: {}, + navigate: $props.redirect ? {} : null, }); const route = useRoute(); const store = arrayData.store; diff --git a/src/components/ui/VnNotes.vue b/src/components/ui/VnNotes.vue index 47591205a..f4cdde310 100644 --- a/src/components/ui/VnNotes.vue +++ b/src/components/ui/VnNotes.vue @@ -77,8 +77,8 @@ async function insert() { auto-load ref="vnPaginateRef" class="show" - :update-router="false" v-bind="$attrs" + search-url="notes" >