From c781938c0f00256b7cb6b4a41567bd1c83f896d7 Mon Sep 17 00:00:00 2001 From: Minho Date: Sat, 13 May 2017 08:34:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/document/html_edit_template.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/document/html_edit_template.tpl b/views/document/html_edit_template.tpl index bd40b66b..f66a67b7 100644 --- a/views/document/html_edit_template.tpl +++ b/views/document/html_edit_template.tpl @@ -204,7 +204,7 @@ type : "post", data : { "attach_id" : $attach_id}, success : function (res) { - console.log(res) + console.log(res); if(res.errcode === 0){ for(var i in $this.lists){ var item = $this.lists[i]; @@ -250,7 +250,7 @@ }).on( 'fileQueued', function( file ) { var item = { state : 0, - attachment_id : file.id(), + attachment_id : file.id, file_size : file.size, file_name : file.name, message : "正在上传"