From 67260e3fb5ff054f525a80c3f421f3a111175d08 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 16 Feb 2022 17:06:35 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=EF=BC=9A=20=E5=BF=AB=E6=8D=B7=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/button/button.basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/single/button/button.basic.js b/src/base/single/button/button.basic.js index e3d8a1493..e01d47b8e 100644 --- a/src/base/single/button/button.basic.js +++ b/src/base/single/button/button.basic.js @@ -205,7 +205,7 @@ BI.BasicButton = BI.inherit(BI.Single, { } hand.click(clk); // enter键等同于点击 - hand.keyup(function (e) { + o.attributes && o.attributes.zIndex >= 0 && hand.keyup(function (e) { if (e.keyCode === BI.KeyCode.ENTER) { clk(e); }