From 652b0129ec60098ae1ad22fb8413eba009fb3aaf Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 20 五月 2022 10:02:53 +0800
Subject: [PATCH] 2022-05-20

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

diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
index e51530e..a662de9 100644
--- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -25,7 +25,6 @@
     btn: PropTypes.object,            // 鎸夐挳
     setting: PropTypes.any,           // 椤甸潰閫氱敤璁剧疆
     disabled: PropTypes.any,          // 琛屾寜閽鐢�
-    lineBtn: PropTypes.any,           // 鏄惁涓鸿绾ф寜閽�
   }
 
   state = {
@@ -120,7 +119,7 @@
    * @description 瑙﹀彂鎸夐挳鎿嶄綔
    */
   actionTrigger = (triggerId, record, type) => {
-    const { setting, Tab, BID, btn, selectedData, lineBtn } = this.props
+    const { setting, Tab, BID, btn, selectedData } = this.props
     const { loading, disabled } = this.state
 
     if (loading || disabled) return
@@ -133,7 +132,7 @@
         duration: 5
       })
       return
-    } else if (type === 'linkbtn' && lineBtn && !is(fromJS(selectedData || []), fromJS(record))) {
+    } else if (type === 'linkbtn' && !btn.$toolbtn && !is(fromJS(selectedData || []), fromJS(record))) {
       return
     }
 

--
Gitblit v1.8.0