From ea477103772ab46e9a1770ca245bca1b73f156a5 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期三, 30 八月 2023 18:01:21 +0800 Subject: [PATCH] 新增 --- src/layout/components/Sidebar/Item.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue index 7785af0..effef3c 100644 --- a/src/layout/components/Sidebar/Item.vue +++ b/src/layout/components/Sidebar/Item.vue @@ -16,12 +16,13 @@ default: '' } }, + created(){ + + }, render(h, context) { const { icon, title } = context.props const vnodes = [] - // console.log(show) // if (!show) return - // console.log(icon, title) if (icon) { if (icon.includes('el-icon')) { vnodes.push(<i class={[icon, 'sub-el-icon']} />) -- Gitblit v1.9.3