19 lines
338 B
Vue
19 lines
338 B
Vue
<template>
|
|
<div id="app">
|
|
<keep-alive>
|
|
<router-view v-if="$route.meta.keepAlive" v-wechat-title="$route.meta.title"/>
|
|
</keep-alive>
|
|
<router-view v-if="!$route.meta.keepAlive" v-wechat-title="$route.meta.title"></router-view>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'App'
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|