完成签约之后直接添加人员,录入下发凭证
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
369 B

var MyEvent = function(type="") {
this.type = type;
this.listeners = [];
};
MyEvent.prototype.addListener = function(listener) {
this.listeners.push(listener);
}
MyEvent.prototype.dispatch = function() {
for (var listener of this.listeners) {
var ret = listener.apply(null, arguments);
if (!ret) {
return;
}
}
}