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/printbutton/index.jsx | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tabviews/zshare/actionList/printbutton/index.jsx b/src/tabviews/zshare/actionList/printbutton/index.jsx index 54676fb..ba4d49f 100644 --- a/src/tabviews/zshare/actionList/printbutton/index.jsx +++ b/src/tabviews/zshare/actionList/printbutton/index.jsx @@ -32,7 +32,6 @@ setting: PropTypes.any, // 椤甸潰閫氱敤璁剧疆 ContainerId: PropTypes.any, // tab椤甸潰ID锛岀敤浜庡脊绐楁帶鍒� disabled: PropTypes.any, // 琛屾寜閽鐢� - lineBtn: PropTypes.any, // 鏄惁涓鸿绾ф寜閽� } state = { @@ -146,7 +145,7 @@ * @description 瑙﹀彂鎸夐挳鎿嶄綔 */ actionTrigger = (triggerId, record, type) => { - const { Tab, BID, btn, selectedData, setting, lineBtn } = this.props + const { Tab, BID, btn, selectedData, setting } = this.props const { loading, disabled } = this.state if (loading || disabled) return @@ -159,7 +158,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