From 6904c9273f5c7c3607ac5a9155aa511253d49b35 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 11 七月 2022 11:36:25 +0800
Subject: [PATCH] 2022-07-11

---
 src/tabviews/zshare/actionList/popupbutton/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/zshare/actionList/popupbutton/index.jsx b/src/tabviews/zshare/actionList/popupbutton/index.jsx
index 696a0c3..c46088e 100644
--- a/src/tabviews/zshare/actionList/popupbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/popupbutton/index.jsx
@@ -347,7 +347,7 @@
     }
 
     return (
-      <div style={{display: 'inline-block'}} onClick={(e) => e.stopPropagation()}>
+      <>
         <Button
           type={type}
           title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
@@ -356,10 +356,10 @@
           style={btn.style}
           icon={icon}
           className={className}
-          onClick={() => {this.actionTrigger()}}
+          onClick={(e) => {e.stopPropagation(); this.actionTrigger()}}
         >{label}</Button>
         {this.getPop()}
-      </div>
+      </>
     )
   }
 }

--
Gitblit v1.8.0