From ab8f3297f7c8243d486c9da0900e4f813b2ea2df Mon Sep 17 00:00:00 2001
From: suerprisePlus <15810472099@163.com>
Date: 星期三, 27 十一月 2024 17:16:46 +0800
Subject: [PATCH] 功能更新

---
 src/views/visualization/bottomMenu.vue |   43 +++++++++++++++++++++++++++----------------
 1 files changed, 27 insertions(+), 16 deletions(-)

diff --git a/src/views/visualization/bottomMenu.vue b/src/views/visualization/bottomMenu.vue
index f8001ce..9d71987 100644
--- a/src/views/visualization/bottomMenu.vue
+++ b/src/views/visualization/bottomMenu.vue
@@ -5,12 +5,16 @@
                 <el-popover popper-class="popover" placement="top" v-show="i.children && i.children.length > 0"
                     width="100" trigger="click">
                     <span slot="reference">{{ i.name }}</span>
-                    <div @click="setChildData(c)" class="popover__item" v-show="i.children && i.children.length > 0"
-                        v-for="(c, f) in i.children" c :title="c.name"> {{
-                            c.name.slice(0, 8) }}
+                    <div v-show="i.children && i.children.length > 0">
+                        <div @click="setChildData(c)" class="popover__item" v-for="(c, f) in i.children" c
+                            :title="c.name"> {{
+                                c.name.slice(0, 8) }}
+                        </div>
                     </div>
+
                 </el-popover>
-                <span @click="setChildData(i)" slot="reference" v-show="!i.children || i.children.length <= 0">{{ i.name }}</span>
+                <span @click="setChildData(i)" slot="reference" v-show="!i.children || i.children.length <= 0">{{ i.name
+                    }}</span>
             </div>
 
         </div>
@@ -27,31 +31,38 @@
         return {
             menuOption: [
                 {
-                    name: '閰嶇綉宸℃',
+                    name: '涓�浣撳缓妯�',
                     children: [
                         {
                             id: 'a1',
                             name: '鐭ヨ瘑鍥捐氨',
                             pid: 's1',
+                        }, {
+                            id: 'a1',
+                            name: '璇箟鍔熻兘',
+                            pid: 's4',
                         }
                     ]
                 }, {
-                    name: '閰嶇綉杩愭',
+                    name: '鍥炬ā铻嶅悎',
                     children: [{
                         id: 'a1',
                         name: '鏁版嵁缁熻',
                         pid: 's2',
                     }]
-                }, {
-                    name: '鐏惧绠$悊',
-                    children: [{
-                        id: 'a1',
-                        name: '鏁版嵁鍒嗘瀽',
-                        pid: 's3',
-                    }]
-                }, {
-                    name: '鏁板瓧绾挎崯',
-         
+                },
+                
+                // {
+                //     name: '鐏惧绠$悊',
+                //     children: [{
+                //         id: 'a1',
+                //         name: '鏁版嵁鍒嗘瀽',
+                //         pid: 's3',
+                //     }]
+                // }, 
+                {
+                    name: '杩愭',
+
                 }
             ],
             visible: false

--
Gitblit v1.9.3