* perf[navbar]: set langSelect to component && refine errorLog component
* feat[login]:add 18n to login form
* fix[pagination]: fixed when selected page-sizes
* perf[i18n]:dashboard document svg permission
* perf[charts]: perf effect
* perf[i18n]:excel && zip
* perf[i18n]: table && errorLog && theme
* perf[i18n]: components
* perf[i18n]: direct use $t
* perf[i18n]: complex-table
* update README.md
* update README.md 📘
* perf[i18n]: refine code comments
24 lines
535 B
Vue
24 lines
535 B
Vue
<template>
|
|
<section class="app-main" style="min-height: 100%">
|
|
<transition name="fade" mode="out-in">
|
|
<keep-alive :include="cachedViews">
|
|
<router-view></router-view>
|
|
</keep-alive>
|
|
</transition>
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'AppMain',
|
|
computed: {
|
|
cachedViews() {
|
|
return this.$store.state.tagsView.cachedViews
|
|
}
|
|
// key() {
|
|
// return this.$route.name !== undefined ? this.$route.name + +new Date() : this.$route + +new Date()
|
|
// }
|
|
}
|
|
}
|
|
</script>
|