Pre Merge pull request !200 from lisansui/router_fix
This commit is contained in:
commit
776b516b97
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="app-main">
|
<section class="app-main">
|
||||||
<router-view v-slot="{ Component, route }">
|
<router-view v-slot="{ Component, route }" :key="$route.fullPath">
|
||||||
<transition v-if="!route.meta.noCache" :enter-active-class="animate" mode="out-in">
|
<transition v-if="!route.meta.noCache" :enter-active-class="animate" mode="out-in">
|
||||||
<keep-alive v-if="!route.meta.noCache" :include="tagsViewStore.cachedViews">
|
<keep-alive v-if="!route.meta.noCache" :include="tagsViewStore.cachedViews">
|
||||||
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
|
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user