From 4c6bdfe1f3557e49a315c1564bcb6164c0bc7faa Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 03 四月 2020 18:27:22 +0800 Subject: [PATCH] 2020-04-03 --- src/templates/zshare/dragelement/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/templates/zshare/dragelement/index.jsx b/src/templates/zshare/dragelement/index.jsx index 3fa3521..f0f9b40 100644 --- a/src/templates/zshare/dragelement/index.jsx +++ b/src/templates/zshare/dragelement/index.jsx @@ -62,11 +62,12 @@ copycard.originCard = card - let _val = '' + let _val = JSON.parse(JSON.stringify(copycard)) try { - copycard.copyType = 'action' - _val = window.btoa(window.encodeURIComponent(JSON.stringify(copycard))) + _val.copyType = 'action' + _val.uuid = Utils.getuuid() + _val = window.btoa(window.encodeURIComponent(JSON.stringify(_val))) } catch { console.warn('Stringify Failure') _val = '' -- Gitblit v1.8.0