lvhao 12 hours ago
parent
commit
b46245e298
1 changed files with 1 additions and 1 deletions
  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){
 function del(that){
     console.log("123");
     console.log("123");
-    $(that).find(".image-card").remove();
+    $(that).closest(".image-card").remove();  
 }
 }
 </script>
 </script>
 <script type="text/javascript" src="{$theme}js/aliyun-oss-sdk-6.20.0.min.js"></script>
 <script type="text/javascript" src="{$theme}js/aliyun-oss-sdk-6.20.0.min.js"></script>