刘洋 1 year ago
parent
commit
0121541889
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/sop/components/dynamic-form-item/UPLOAD_IMAGE.vue

+ 1 - 1
src/views/sop/components/dynamic-form-item/UPLOAD_IMAGE.vue

@@ -113,7 +113,7 @@ const handleChange = () => {
 };
 
 onMounted(() => {
-  files.value = props.config.value || [];
+  files.value = (props.config.value || []).filter(Boolean);
 });
 const downloadAll = () => {
   console.log('sop', props.sop);