fe-drone-ci/src/views/example/table/index.vue

19 lines
324 B
Vue

<template>
<transition name="fade" mode="out-in">
<keep-alive :include='cachedViews'>
<router-view></router-view>
</keep-alive>
</transition>
</template>
<script>
export default {
name: 'Table',
computed: {
cachedViews() {
return this.$store.state.tagsView.cachedViews
}
}
}
</script>