focus selected page
This commit is contained in:
parent
34f2c957c5
commit
8f43786bee
|
@ -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 New Issue