Compare commits

..

No commits in common. "2c4b59913828b5027972cdc2935fe66279279dfd" and "1eea4fcd5365483e55c243c8e7a52a1207c2dd47" have entirely different histories.

2 changed files with 4 additions and 8 deletions

View File

@ -1,11 +1,11 @@
<template>
<demo-nav />
<router-view v-slot="{ Component }">
<demo-section>
<keep-alive>
<keep-alive>
<demo-section>
<component :is="Component" />
</keep-alive>
</demo-section>
</demo-section>
</keep-alive>
</router-view>
</template>

View File

@ -270,10 +270,6 @@ export default defineComponent({
if (count.value) {
active = Math.min(count.value - 1, active);
if (active === -1) {
active = count.value - 1;
}
}
state.active = active;