From f66e19dd13af07ee466306632ad43c72f1f16ae7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 26 五月 2021 14:49:55 +0800 Subject: [PATCH] 2021-05-26 --- src/menu/pastecontroller/index.jsx | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/menu/pastecontroller/index.jsx b/src/menu/pastecontroller/index.jsx index 71a6a8e..d80b944 100644 --- a/src/menu/pastecontroller/index.jsx +++ b/src/menu/pastecontroller/index.jsx @@ -149,12 +149,16 @@ item.btnlog = [] } + let oriUids = {} if (item.action) { if (sessionStorage.getItem('editMenuType') === 'popview') { item.action = item.action.filter(c => c.OpenType !== 'popview' && c.OpenType !== 'funcbutton') } item.action = item.action.map(cell => { let _uuid = Utils.getuuid() + + oriUids[cell.uuid] = _uuid + if (cell.OpenType === 'popview') { let _cell = fromJS(cell).toJS() _cell.$originUuid = _cell.uuid @@ -180,6 +184,10 @@ if (item.setting && item.setting.supModule) { item.setting.supModule = '' } + + if (item.wrap && item.wrap.doubleClick) { + item.wrap.doubleClick = oriUids[item.wrap.doubleClick] || '' + } return item } -- Gitblit v1.8.0