<script>
import SideMenu from '@/components/sideMenu.vue'

export default {
  name:'container',
  components: {
    SideMenu
  },
  methods:{
    getInfo(){
      this.$refs.sideMenu.updataUserInfo()
    }
  }
}
</script>

<template>
  <el-container>
    <el-aside width="260px" class="relative"><SideMenu ref="sideMenu" /></el-aside>
    <el-main><router-view :getInfo="getInfo" /></el-main>
  </el-container>
</template>
