From 2af74c3e6de29feffe91005105b78f7d3773319a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=89=E9=A3=8E=E6=9D=A5?= <136327134@qq.com> Date: Tue, 25 Sep 2018 09:46:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/system/js/layuiList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/system/js/layuiList.js b/public/system/js/layuiList.js index ab5c3a0b..b80eff61 100644 --- a/public/system/js/layuiList.js +++ b/public/system/js/layuiList.js @@ -163,10 +163,10 @@ } } //监听列表 - layList.tool = function (EventFn, fieldStr,odj) { + layList.tool = function (EventFn, fieldStr,odjs) { var that = this; // var elemOdj=elemOdj || that.elemOdj - var elemOdj=that.elemOdj[odj || this.odj]; + var elemOdj=that.elemOdj[odjs || this.odj]; console.log(elemOdj); this.table.on('tool(' + elemOdj + ')', function (obj) { console.log(obj)