lvhao hai 10 horas
pai
achega
b46245e298
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>