修改BUG

pull/39/head
Minho 2017-05-13 08:34:27 +08:00
parent 9d233861ca
commit c781938c0f
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@
type : "post", type : "post",
data : { "attach_id" : $attach_id}, data : { "attach_id" : $attach_id},
success : function (res) { success : function (res) {
console.log(res) console.log(res);
if(res.errcode === 0){ if(res.errcode === 0){
for(var i in $this.lists){ for(var i in $this.lists){
var item = $this.lists[i]; var item = $this.lists[i];
@ -250,7 +250,7 @@
}).on( 'fileQueued', function( file ) { }).on( 'fileQueued', function( file ) {
var item = { var item = {
state : 0, state : 0,
attachment_id : file.id(), attachment_id : file.id,
file_size : file.size, file_size : file.size,
file_name : file.name, file_name : file.name,
message : "正在上传" message : "正在上传"