Browse Source

fix:图片清空后重新显示

ly 11 tháng trước cách đây
mục cha
commit
cbe2b9933f
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/views/business/production/onceWork/resultDialog.vue

+ 4 - 0
src/views/business/production/onceWork/resultDialog.vue

@@ -324,6 +324,10 @@ const deleteCol = (id,fileUrl)=>{
     }
     return file.fileUrl !== fileUrl
   })
+  if(fileEntityList.value.length === 0){
+    uploadHidden.value = true;
+    fileList.value = [];
+  }
   fullscreenLoading.value = false;
 }
 const handleOnChange = (e)=>{