Sign in

wms / wms4_taiguogeli · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wms4_taiguogeli
  • ant-design-jeecg-vue
  • src
  • components
  • layouts
  • RouteView.vue
  • jeecg-boot 1.0版本发布 | 企业级快速开发平台
    f2893943
    zhangdaihao authored
    2019-03-04 12:48:25 +0800  
    Browse Code ยป
RouteView.vue 275 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<template>
  <keep-alive v-if="keepAlive">
    <router-view />
  </keep-alive>
  <router-view v-else />
</template>

<script>
  export default {
    name: "RouteView",
    computed: {
      keepAlive () {
        return this.$route.meta.keepAlive
      }
    },
  }
</script>