等风来 %!s(int64=7) %!d(string=hai) anos
pai
achega
2af74c3e6d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 that = this;
         // var elemOdj=elemOdj || that.elemOdj
         // var elemOdj=elemOdj || that.elemOdj
-        var elemOdj=that.elemOdj[odj || this.odj];
+        var elemOdj=that.elemOdj[odjs || this.odj];
         console.log(elemOdj);
         console.log(elemOdj);
         this.table.on('tool(' + elemOdj + ')', function (obj) {
         this.table.on('tool(' + elemOdj + ')', function (obj) {
             console.log(obj)
             console.log(obj)