diff --git a/src/components/ui/VnNotes.vue b/src/components/ui/VnNotes.vue index 937ec4b6c..47591205a 100644 --- a/src/components/ui/VnNotes.vue +++ b/src/components/ui/VnNotes.vue @@ -21,7 +21,7 @@ const currentUser = ref(state.getUser()); const newNote = ref(''); const vnPaginateRef = ref(); function handleKeyUp(event) { - if (event.key === 'Enter') { + if (event.key === 'Enter') { event.preventDefault(); if (!event.shiftKey) insert(); } @@ -77,6 +77,7 @@ async function insert() { auto-load ref="vnPaginateRef" class="show" + :update-router="false" v-bind="$attrs" >