From fbb86e82858efde1a0402df31f1d11dc5a2f66d4 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 25 九月 2021 19:45:10 +0800
Subject: [PATCH] 2021-09-25

---
 src/utils/utils-custom.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/utils/utils-custom.js b/src/utils/utils-custom.js
index 621c33c..ee48e7c 100644
--- a/src/utils/utils-custom.js
+++ b/src/utils/utils-custom.js
@@ -16,10 +16,12 @@
         }
       } else if (item.type === 'tabs') {
         let _item = {
+          type: 'tabs',
           value: item.uuid,
           label: item.name,
           children: item.subtabs.map(f_tab => {
             let subItem = {
+              type: 'tab',
               value: f_tab.uuid,
               label: f_tab.label,
               children: this.getSubModules(f_tab.components, selfId)
@@ -667,6 +669,8 @@
       })
     }
     if (item.type === 'topbar') {
+      item.wrap.name = ''
+      item.name = ''
       if (item.search && item.search.fields) {
         item.search.fields = item.search.fields.map(cell => {
           cell.uuid = this.getuuid()

--
Gitblit v1.8.0