From 1d775177c792e60bf04a053cdaf58553edb4d738 Mon Sep 17 00:00:00 2001 From: aline-hirokawa Date: Wed, 26 Nov 2025 14:37:06 -0400 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20Renomea=C3=A7?= =?UTF-8?q?=C3=A3o=20de=20Item=20para=20MenuItem=20-=20resolver=20erro=20d?= =?UTF-8?q?e=20Single=20Name=20Component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Sidebar/{Item.vue => MenuItem.vue} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename src/layout/components/Sidebar/{Item.vue => MenuItem.vue} (70%) diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/MenuItem.vue similarity index 70% rename from src/layout/components/Sidebar/Item.vue rename to src/layout/components/Sidebar/MenuItem.vue index aa1f5da4..f61d4cf2 100644 --- a/src/layout/components/Sidebar/Item.vue +++ b/src/layout/components/Sidebar/MenuItem.vue @@ -14,20 +14,20 @@ export default { }, render(h, context) { const { icon, title } = context.props - const vnodes = [] + const nodes = [] if (icon) { if (icon.includes('el-icon')) { - vnodes.push() + nodes.push() } else { - vnodes.push() + nodes.push() } } if (title) { - vnodes.push({(title)}) + nodes.push({title}) } - return vnodes + return nodes } }