From 5046d0d13dc6a8563b8e54e31913bc44cfa1072f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 26 四月 2022 19:23:18 +0800 Subject: [PATCH] 2022-04-26 --- src/menu/components/share/actioncomponent/dragaction/index.jsx | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/menu/components/share/actioncomponent/dragaction/index.jsx b/src/menu/components/share/actioncomponent/dragaction/index.jsx index e834be6..13bbd48 100644 --- a/src/menu/components/share/actioncomponent/dragaction/index.jsx +++ b/src/menu/components/share/actioncomponent/dragaction/index.jsx @@ -74,6 +74,13 @@ copycard.originCard = card try { + delete _val.$srcId + + let srcid = localStorage.getItem(window.location.href.split('#')[0] + 'srcId') + if (srcid) { + _val.$srcId = srcid + } + _val = window.btoa(window.encodeURIComponent(JSON.stringify(_val))) } catch (e) { console.warn('Stringify Failure') -- Gitblit v1.8.0