diff --git a/components/EntityShow.vue b/components/EntityShow.vue index 9643775..29631cd 100644 --- a/components/EntityShow.vue +++ b/components/EntityShow.vue @@ -26,11 +26,13 @@ defineShortcuts({ 'arrowleft': () => { if(openTab.value > 0){ openTab.value -= 1 + router.push(`${router.currentRoute.value.path}?tabIndex=${openTab.value}`) } }, 'arrowright': () => { if(openTab.value < dataType.showTabs.length - 1) { openTab.value += 1 + router.push(`${router.currentRoute.value.path}?tabIndex=${openTab.value}`) } }, })