|
|
|
|
@ -29,6 +29,11 @@ export default {
|
|
|
|
|
vnodes.push(<Icon custom={[_icon, 'iconfont','sub-el-icon']} size="18" />)
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
if(icon.includes("fa")){
|
|
|
|
|
|
|
|
|
|
var _icon="el-icon-menu";
|
|
|
|
|
vnodes.push(<i class={[_icon, 'sub-el-icon']} />)
|
|
|
|
|
}else
|
|
|
|
|
vnodes.push(<svg-icon icon-class={icon}/>)
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
|