From bc4308e222af3e19f721a129ab132fb69909778e Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 23 十二月 2020 18:01:52 +0800
Subject: [PATCH] 2020-12-23

---
 src/menu/components/share/actioncomponent/index.jsx |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/index.jsx b/src/menu/components/share/actioncomponent/index.jsx
index 1363c41..6bcdbae 100644
--- a/src/menu/components/share/actioncomponent/index.jsx
+++ b/src/menu/components/share/actioncomponent/index.jsx
@@ -327,10 +327,15 @@
           MKEmitter.emit('delButtons', [card.uuid])
         }
 
+        let btnlog = config.btnlog || []
+        if (card.OpenType === 'popview' || card.verify || card.modal) {
+          btnlog.push(card)
+        }
+
         _this.setState({
           actionlist: _actionlist
         }, () => {
-          _this.props.updateaction({...config, action: _actionlist})
+          _this.props.updateaction({...config, action: _actionlist, btnlog})
         })
       },
       onCancel() {}

--
Gitblit v1.8.0