From bf292de8879e2ce71696cb3ddc4dc8fa88d91a20 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 10 六月 2022 16:51:22 +0800
Subject: [PATCH] 2022-06-10

---
 src/menu/components/share/copycomponent/index.jsx |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/share/copycomponent/index.jsx b/src/menu/components/share/copycomponent/index.jsx
index 74bacff..62c57e2 100644
--- a/src/menu/components/share/copycomponent/index.jsx
+++ b/src/menu/components/share/copycomponent/index.jsx
@@ -7,8 +7,8 @@
 
 class CopyComponent extends Component {
   static propTpyes = {
-    btnlog: PropTypes.array,
-    handlelog: PropTypes.func
+    type: PropTypes.string,
+    card: PropTypes.object
   }
 
   trigger = () => {
@@ -24,6 +24,12 @@
         _val.$srcId = srcid
       }
 
+      if (type === 'menucell') {
+        _val.setting.type = 'linkmenu'
+        _val.setting.linkMenuId = ''
+        _val.setting.copyMenuId = ''
+      }
+
       _val = window.btoa(window.encodeURIComponent(JSON.stringify(_val)))
     } catch (e) {
       message.warning('澶嶅埗澶辫触锛岃閲嶈瘯锛�')

--
Gitblit v1.8.0