From 66cc7818cf5e13c44f4372e7d47fb72df7d2f752 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 16 九月 2022 10:30:14 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/menu/components/card/balcony/index.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/menu/components/card/balcony/index.jsx b/src/menu/components/card/balcony/index.jsx index 263b648..6cec481 100644 --- a/src/menu/components/card/balcony/index.jsx +++ b/src/menu/components/card/balcony/index.jsx @@ -209,7 +209,7 @@ newcard.height = 1 // 娉ㄥ唽浜嬩欢-娣诲姞鍏冪礌 - MKEmitter.emit('cardAddElement', [card.uuid, card.uuid], newcard) + MKEmitter.emit('cardAddElement', card.uuid, newcard) } addButton = () => { @@ -220,7 +220,7 @@ newcard.focus = true // 娉ㄥ唽浜嬩欢-娣诲姞鍏冪礌 - MKEmitter.emit('cardAddElement', [card.uuid, card.uuid], newcard) + MKEmitter.emit('cardAddElement', card.uuid, newcard) } pasteComponent = (res, resolve) => { @@ -233,10 +233,10 @@ res.focus = true if (type === 'customCardElement') { - MKEmitter.emit('cardAddElement', [card.uuid, card.uuid], res) + MKEmitter.emit('cardAddElement', card.uuid, res) } else { res.eleType = 'button' - MKEmitter.emit('cardAddElement', [card.uuid, card.uuid], res) + MKEmitter.emit('cardAddElement', card.uuid, res) } resolve({status: true}) } -- Gitblit v1.8.0