* commit 'b34a478c0facf6f644429f2f45c43cb443ed0a5c': 无JIRA任务,优化object对象的un方法
@ -155,7 +155,7 @@ export class OB {
eventName = eventName.toLowerCase();
/* alex:如果fn是null,就是把eventName上面所有方法都un掉*/
if (fn === null) {
if (!fn) {
delete this._getEvents()[eventName];
} else {
const fns = this._getEvents()[eventName];