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" >