From 3cbad93c94c39730e45600efeabdfebcd424c2cc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 14 一月 2021 19:00:19 +0800 Subject: [PATCH] 2021-01-14 --- src/menu/components/card/cardcellcomponent/dragaction/index.jsx | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/dragaction/index.jsx b/src/menu/components/card/cardcellcomponent/dragaction/index.jsx index fdd2796..c90814c 100644 --- a/src/menu/components/card/cardcellcomponent/dragaction/index.jsx +++ b/src/menu/components/card/cardcellcomponent/dragaction/index.jsx @@ -38,14 +38,16 @@ let copycard = fromJS(card).toJS() let _cards = fromJS(cards).toJS() - copycard.uuid = Utils.getuuid() copycard.copyType = 'customCardElement' copycard.focus = true - let _val = '' + let _val = fromJS(copycard).toJS() + + copycard.uuid = Utils.getuuid() + copycard.originCard = card try { - _val = window.btoa(window.encodeURIComponent(JSON.stringify(copycard))) + _val = window.btoa(window.encodeURIComponent(JSON.stringify(_val))) } catch { console.warn('Stringify Failure') _val = '' -- Gitblit v1.8.0