From 6c66c9c2a6d0f7e7ccc65d4d9e478f1acb74d87e Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 20 八月 2021 12:12:48 +0800
Subject: [PATCH] 2021-08-20

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

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index 7d03c60..8aac0c2 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -158,11 +158,6 @@
       return
     }
 
-    if (btn.$syncModule && !triggerId) {
-      MKEmitter.emit('getSyncData', btn.$syncModule, btn.uuid)
-      return
-    }
-
     let _this = this
     let data = record || selectedData || []
 
@@ -1811,11 +1806,12 @@
         label = btn.label
         icon = btn.icon || ''
       } else if (show === 'link') {
-        label = <span>{btn.label}{btn.icon ? <Icon type={btn.icon}/> : ''}</span>
+        label = <span>{btn.label}{btn.icon ? <Icon style={{marginLeft: '8px'}} type={btn.icon}/> : ''}</span>
         icon = ''
       } else if (show === 'icon') {
         icon = btn.icon || ''
-      } else if (show === 'text') {
+      // } else if (show === 'text') {
+      } else {
         label = btn.label
       }
 

--
Gitblit v1.8.0