|
|
@ -1790,10 +1790,7 @@
|
|
|
|
imgListIconData.push(Number(response.id));
|
|
|
|
imgListIconData.push(Number(response.id));
|
|
|
|
setIconVal();
|
|
|
|
setIconVal();
|
|
|
|
console.log(response)
|
|
|
|
console.log(response)
|
|
|
|
if (response.status==1001) {
|
|
|
|
|
|
|
|
alert('图片大小不得超过50k');
|
|
|
|
|
|
|
|
$('#icon_thelist').children().last().remove();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$( '#'+file.id ).find('p.state').text('已上传').fadeOut(800);
|
|
|
|
$( '#'+file.id ).find('p.state').text('已上传').fadeOut(800);
|
|
|
|
//alert(JSON.stringify(response));
|
|
|
|
//alert(JSON.stringify(response));
|
|
|
|
$('#'+file.id).find('h4.info').append('<a href="javascript:;" class="jsdelzip table_click" style="float:none;display:inline-block;margin-left:10px;">删除</a>');
|
|
|
|
$('#'+file.id).find('h4.info').append('<a href="javascript:;" class="jsdelzip table_click" style="float:none;display:inline-block;margin-left:10px;">删除</a>');
|
|
|
@ -1811,6 +1808,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (response.status==1001) {
|
|
|
|
|
|
|
|
alert('图片大小不得超过50k');
|
|
|
|
|
|
|
|
$('#icon_thelist').children().last().remove();
|
|
|
|
|
|
|
|
location.reload()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|