lvhao 12 часов назад
Родитель
Сommit
b46245e298
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      template/erp/goodimglibrary_edit.html

+ 1 - 1
template/erp/goodimglibrary_edit.html

@@ -361,7 +361,7 @@ uploadZone.addEventListener('drop', (e) => {
 
 function del(that){
     console.log("123");
-    $(that).find(".image-card").remove();
+    $(that).closest(".image-card").remove();  
 }
 </script>
 <script type="text/javascript" src="{$theme}js/aliyun-oss-sdk-6.20.0.min.js"></script>