...
|
...
|
@@ -161,9 +161,12 @@ edit.prototype={ |
|
|
// $(this).attr("value",response.data);
|
|
|
// }
|
|
|
// });
|
|
|
if(!that.option.bucket){
|
|
|
alert("bucket不存在");
|
|
|
}
|
|
|
$('input[type="file"]',that.el).ajaxfileupload({
|
|
|
'action': '/ajax/upload',
|
|
|
'params':{"userId":543883,"bucket":that.option.bucket||'smart',__type:"upload"},
|
|
|
'params':{"userId":543883,"bucket":that.option.bucket,__type:"upload"},
|
|
|
'onComplete': function(response) {
|
|
|
if(response.status&&response.code==200){
|
|
|
var _w=$(this).next().find('.fileinput-button-icon');
|
...
|
...
|
|