解决页面偶尔出现的白屏问题
This commit is contained in:
parent
905426ad45
commit
6b4d756a9d
@ -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 :enter-active-class="animante" mode="out-in">
|
<transition :enter-active-class="animante" mode="out-in">
|
||||||
<keep-alive :include="tagsViewStore.cachedViews">
|
<keep-alive :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