diff --git a/Application/Admin/View/Game/edit.html b/Application/Admin/View/Game/edit.html
index 3efde07c9..2fe741463 100644
--- a/Application/Admin/View/Game/edit.html
+++ b/Application/Admin/View/Game/edit.html
@@ -1790,10 +1790,7 @@
imgListIconData.push(Number(response.id));
setIconVal();
console.log(response)
- if (response.status==1001) {
- alert('图片大小不得超过50k');
- $('#icon_thelist').children().last().remove();
- } else {
+
$( '#'+file.id ).find('p.state').text('已上传').fadeOut(800);
//alert(JSON.stringify(response));
$('#'+file.id).find('h4.info').append('删除');
@@ -1811,6 +1808,11 @@
return false;
});
+
+ if (response.status==1001) {
+ alert('图片大小不得超过50k');
+ $('#icon_thelist').children().last().remove();
+ location.reload()
}
});