Authored by dongjunjie

Merge branch 'testBLK' into portal_dev_4.9

... ... @@ -13,7 +13,7 @@ var components=function(el,option){
};
this.el = el;
this.option = option || {};
}
};
components.prototype={
constructor:components,
on: function(name, callback) {
... ... @@ -163,6 +163,19 @@ components.prototype={
} else {
that.$tip(response.message);
}
},
'onStart': function(params) {
//图片限制参数
if($(this).attr("fileType")){
console.log("fileType:" + $(this).attr("fileType"));
params.limitType = $(this).attr("fileType");
}
if($(this).attr("bucket")){
params.bucket = $(this).attr("bucket");
}
that.__listen("callback", {
key: "file_onStart_" + $(this).attr("id")
});
}
});
});
... ...