Browse Source

Merging in latest from upstream (VISUAL/fineui:refs/heads/master)

* commit 'ae2efc9c0a9a9ba5ce6ce570d7a9052e7e11d02d':
  auto upgrade version to 2.0.20220222192307
  REPORT-67093 fix: 修复工具栏按钮置灰问题,需要改变action内部的this指向
es6
Dailer 3 years ago
parent
commit
87a9e8d25c
  1. 2
      package.json
  2. 2
      src/core/3.ob.js

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20220222143230",
"version": "2.0.20220222192307",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

2
src/core/3.ob.js

@ -67,7 +67,7 @@
self.on(eventName, lis);
return;
}
(lis.target ? lis.target : self)[lis.once ? "once" : "on"](lis.eventName, lis.action);
(lis.target ? lis.target : self)[lis.once ? "once" : "on"](lis.eventName, _.bind(lis.action, self));
});
delete this.options.listeners;
}

Loading…
Cancel
Save