Explorar el Código

上传文件修改

duy hace 2 meses
padre
commit
fa4ed5a151
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/views/data-fill/components/HcUpload.vue

+ 4 - 1
src/views/data-fill/components/HcUpload.vue

@@ -157,7 +157,10 @@ watch(() => [
   
 ], ([ type]) => {
     typevalue.value = type
-        //  emit('change', { type: 'success' })
+  
+      if (typevalue.value) {
+          emit('change', { type: 'success' })
+      }
 
 },
 { immediate: true },