From 377e00b443a02f1567e84aef14d6134124603813 Mon Sep 17 00:00:00 2001
From: Goldennfish <1981343953@qq.com>
Date: 星期二, 25 七月 2023 08:57:00 +0800
Subject: [PATCH] 设备台账弹出框及调整了所有弹出框样式

---
 src/layout/components/Sidebar/Item.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index aa1f5da..7785af0 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -3,6 +3,10 @@
   name: 'MenuItem',
   functional: true,
   props: {
+    // show: {
+    //   type: Boolean,
+    //   default: true
+    // },
     icon: {
       type: String,
       default: ''
@@ -15,7 +19,9 @@
   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