From 53be121ae037e4599c374429ac14fd3f8b03847a Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 6 Jan 2025 09:16:31 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/accessory/child/accessory_store_edit_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/accessory/child/accessory_store_edit_form.js b/js/accessory/child/accessory_store_edit_form.js index 70a1ac8..2383b5c 100644 --- a/js/accessory/child/accessory_store_edit_form.js +++ b/js/accessory/child/accessory_store_edit_form.js @@ -137,7 +137,7 @@ $(document).on("click", ".file-iteme .handle", function (event) { imgListUp.splice(0, imgListUp.length); let index = $(this).next().attr('data-index'); let isOld = $(this).next().attr('isOld'); - if (isOld) { + if (isOld && isOld !== 'undefined') { delImgIdList.push(isOld); $(this).parent().remove(); } else {