优化图片上传

master
chenzhi 4 years ago
parent 90dc521e2a
commit 537c496793

@ -49,6 +49,14 @@
<input type="hidden" name="game_appid" value="">
</td>
</tr>
<tr>
<td class="l">游戏原包名称:</td>
<td class="r" >
<input type="text" class="txt " name="original_package_name" value="" placeholder="请输入游戏原包名称">
</td>
</tr>
<tr>
<td class="l">游戏类型:</td>
<td class="r">
@ -1468,7 +1476,7 @@
thumb:true,
compress:false,
prepareNextFile: true,
formData: function(){return $.extend(true, {}, userInfo);},
formData: function(){return $.extend(true, {icon:1}, userInfo);},
chunked:false,
duplicate: true
});
@ -1567,6 +1575,11 @@
return false;
});
if (response.status==1001) {
alert('图片大小不得超过2M');
$('#icon_thelist').children().last().remove();
location.reload()
}
});
function setIconVal()

Loading…
Cancel
Save