zhengwei 5 년 전
부모
커밋
8dccee5d71
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      WebContent/web/common/common.js

+ 4 - 1
WebContent/web/common/common.js

@@ -715,7 +715,10 @@ web.imageUploader = function(fileList,filePicker,callback,options,params){
 		$(this).find('.file-panel').css('height','0');
 	});
 	$('#'+fileList).on('click','.cancel',function(){
-		$(this).parents('.file-item').remove();
+        var obj = $(this);
+        setTimeout(function () {
+            $(obj).parents('.file-item').remove();
+        },100);
 	});
 	//添加删除事件结束
 	var imgUploadUrl = base+'/common/upload';