mirror of https://github.com/mindoc-org/mindoc.git
修改BUG
parent
9d233861ca
commit
c781938c0f
|
@ -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 : "正在上传"
|
||||||
|
|
Loading…
Reference in New Issue