等风来 7 سال پیش
والد
کامیت
2af74c3e6d
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      public/system/js/layuiList.js

+ 2 - 2
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)