From 4ca31ebf7e25e85de4a18f3e7f64f20efb500e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Sat, 23 Jul 2022 21:31:28 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E5=BD=93=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4=E8=AE=BE=E7=BD=AE=20event=20=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=AF=BC=E8=87=B4=E5=8D=95=E5=85=83=E6=A0=BC?= =?UTF-8?q?=E5=86=85=20a=20=E6=A0=87=E7=AD=BE=E8=B7=B3=E8=BD=AC=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/table.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/table.js b/src/modules/table.js index 508d8311..0e301342 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -2057,12 +2057,12 @@ layui.define(['laytpl', 'laypage', 'form', 'util'], function(exports){ }; // 行工具条单击事件 - that.layBody.on('click', '*[lay-event]', function(){ + that.layBody.on('click', '*[lay-event]', function(e){ toolFn.call(this); - return false; - }).on('dblclick', '*[lay-event]', function(){ //行工具条双击事件 + layui.stope(e); + }).on('dblclick', '*[lay-event]', function(e){ //行工具条双击事件 toolFn.call(this, 'toolDouble'); - return false; + layui.stope(e); }); //同步滚动条