zhengwei %!s(int64=5) %!d(string=hai) anos
pai
achega
8dccee5d71
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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';