<div id="app"> <!--缓存--> <keep-alive> <router-view v-if="$route.meta.keepAlive"></router-view> </keep-alive> <router-view v-if="!$route.meta.keepAlive"></router-view> <!--下拉更新数据--><!-- <router-view v-if="isRouterAlive"></router-view> --> </div>
怎么把下面的 v-if="isRouterAlive"
给弄到上面去,但上面已经有v-if
了
慕尼黑5688855
牧羊人nacy