Showing
1 changed file
with
1 additions
and
1 deletions
@@ -114,7 +114,7 @@ components.prototype={ | @@ -114,7 +114,7 @@ components.prototype={ | ||
114 | 114 | ||
115 | $('input[type="file"]', that.el).each(function() { | 115 | $('input[type="file"]', that.el).each(function() { |
116 | 116 | ||
117 | - var bucket= $(this).data("bucket")||that.option.bucket; | 117 | + var bucket= $(this).data("bucket")||that.option.bucket||$(this).attr("bucket"); |
118 | 118 | ||
119 | if(!bucket){ | 119 | if(!bucket){ |
120 | alert("bucket 不存在"); | 120 | alert("bucket 不存在"); |
-
Please register or login to post a comment