From 73c0258e4e30f1d2e407cb067feea8e79fad081d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 九月 2021 14:37:10 +0800 Subject: [PATCH] 2021-09-16 --- src/menu/components/card/cardcomponent/index.jsx | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/menu/components/card/cardcomponent/index.jsx b/src/menu/components/card/cardcomponent/index.jsx index f2db083..449bec8 100644 --- a/src/menu/components/card/cardcomponent/index.jsx +++ b/src/menu/components/card/cardcomponent/index.jsx @@ -239,11 +239,14 @@ let _uuid = Utils.getuuid() - if (element.copyType === 'action' && element.OpenType === 'popview') { // 寮圭獥鏍囩澶嶅埗 - let _cell = fromJS(element).toJS() - _cell.$originUuid = element.uuid - _cell.uuid = _uuid - MKEmitter.emit('copyButtons', [_cell]) + if (element.copyType === 'action') { + element.eleType = 'button' + if (element.OpenType === 'popview') { // 寮圭獥鏍囩澶嶅埗 + let _cell = fromJS(element).toJS() + _cell.$originUuid = element.uuid + _cell.uuid = _uuid + MKEmitter.emit('copyButtons', [_cell]) + } } element.uuid = _uuid -- Gitblit v1.8.0