<!--
 * @Author: Liu_li
 * @Descripttion: 
 * @Date: 2021-09-26 11:03:50
-->
<template>
  <div>
    <template>
      <app-link>
        <el-menu-item>
          <item :icon="onlyOneChild.meta.icon || (item.meta && item.meta.icon)" :title="onlyOneChild.meta.title" />
        </el-menu-item>
      </app-link>
    </template>
  </div>
</template>

<script>
import path from 'path'
import {isExternal} from '@/utils/validate'

export default {
  name:'SidebarItem',
  props:{
    item:{
      type:Object,
      required:true
    },
    isNest:{
      type:Boolean,
      default:false
    },
    basePath:{
      type:String,
      default:''
    }
  },
  data() {
    this.onlyOneChild=null
    return {
    }
  },
}
</script>