focus selected page
This commit is contained in:
parent
34f2c957c5
commit
8f43786bee
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<KeepAlive :max="defaultStore.state.numberOfPageCache">
|
||||
<Suspense>
|
||||
<component :is="currentPageComponent" :key="key" v-bind="Object.fromEntries(currentPageProps)"/>
|
||||
<component :is="currentPageComponent" :key="key" v-bind="Object.fromEntries(currentPageProps)" tabindex="-1" v-focus/>
|
||||
|
||||
<template #fallback>
|
||||
<MkLoading/>
|
||||
|
|
Loading…
Reference in a new issue