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/printbutton/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/zshare/actionList/printbutton/index.jsx b/src/tabviews/zshare/actionList/printbutton/index.jsx
index 632200e..85e9636 100644
--- a/src/tabviews/zshare/actionList/printbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -1682,7 +1682,7 @@
       className = 'mk-btn mk-' + btn.class
     }
 
-    return <div style={{display: 'inline-block'}} onClick={(e) => e.stopPropagation()}>
+    return <>
       <Button
         type={type}
         title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
@@ -1691,10 +1691,10 @@
         style={btn.style || null}
         icon={icon}
         className={className}
-        onClick={() => {this.actionTrigger()}}
+        onClick={(e) => {e.stopPropagation(); this.actionTrigger()}}
       >{label}</Button>
       {this.getModels()}
-    </div>
+    </>
   }
 }
 

--
Gitblit v1.8.0