添加 手势识别demo完成
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<!-- 需要缓存的 -->
|
||||
<keep-alive>
|
||||
<router-view v-if="$route.meta.keepAlive" />
|
||||
</keep-alive>
|
||||
<!-- 不需要缓存的 -->
|
||||
<router-view v-if="!$route.meta.keepAlive" />
|
||||
</div>
|
||||
<div id="app">
|
||||
<!-- 需要缓存的 -->
|
||||
<keep-alive>
|
||||
<router-view v-if="$route.meta.keepAlive" />
|
||||
</keep-alive>
|
||||
<!-- 不需要缓存的 -->
|
||||
<router-view v-if="!$route.meta.keepAlive" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
#app {
|
||||
min-height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user