mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 13:56:43 +08:00
2022年5月29日从svn移到git
This commit is contained in:
44
src/layout/portal.vue
Normal file
44
src/layout/portal.vue
Normal file
@@ -0,0 +1,44 @@
|
||||
<template>
|
||||
<div>
|
||||
<portal-header></portal-header>
|
||||
<div>
|
||||
<transition name="fade-transform" mode="out-in">
|
||||
<router-view :key="key" />
|
||||
</transition>
|
||||
</div>
|
||||
<portal-footer></portal-footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import portalHeader from '@/components/PortalHeader.vue'
|
||||
import portalFooter from '@/components/PortalFooter.vue'
|
||||
export default {
|
||||
name: "LayoutPortal",
|
||||
components:{portalHeader,portalFooter},
|
||||
computed:{
|
||||
...mapGetters(['userInfo']),
|
||||
key() {
|
||||
return this.$route.path
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
// 版本号
|
||||
version: "1.0.0"
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user