From 8f394e7ef20cc0abba3f47c23a63b069e9dd0e45 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 19 十月 2022 15:09:30 +0800 Subject: [PATCH] 2022-10-19 --- src/menu/pastecontroller/index.jsx | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/src/menu/pastecontroller/index.jsx b/src/menu/pastecontroller/index.jsx index 9d11f70..fbe0827 100644 --- a/src/menu/pastecontroller/index.jsx +++ b/src/menu/pastecontroller/index.jsx @@ -31,16 +31,12 @@ item.subtabs.forEach(tab => { uuids[tab.uuid] = MenuUtils.getuuid() tab.uuid = uuids[tab.uuid] - tab.parentId = item.uuid if (appType !== 'mob') { tab.components = tab.components.filter(cell => cell.type !== 'menubar') } tab.components = tab.components.map(cell => { - cell.tabId = tab.uuid - cell.parentId = tab.parentId - cell = this.resetconfig(cell, copyBtns, uuids) return cell }) @@ -52,9 +48,6 @@ item.name = item.setting.name item.components = item.components.map(cell => { - cell.tabId = item.tabId || '' - cell.parentId = item.parentId || '' - cell = MenuUtils.resetComponentConfig(cell, copyBtns, uuids) return cell }) -- Gitblit v1.8.0