Authored by 姜敏

edit2-bucket校验

... ... @@ -114,7 +114,7 @@ components.prototype={
$('input[type="file"]', that.el).each(function() {
var bucket= $(this).data("bucket")||that.option.bucket;
var bucket= $(this).data("bucket")||that.option.bucket||$(this).attr("bucket");
if(!bucket){
alert("bucket 不存在");
... ...