From 537c4967936689af8d5a35ff8ed4edbeebab5172 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 21 Apr 2021 16:32:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/Game/add.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Application/Admin/View/Game/add.html b/Application/Admin/View/Game/add.html index 0cf95aabd..bcfb23eb4 100644 --- a/Application/Admin/View/Game/add.html +++ b/Application/Admin/View/Game/add.html @@ -49,6 +49,14 @@ + + 游戏原包名称: + + + + + + 游戏类型: @@ -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()