xiangpei
2024-04-10 07ffc364bf90b369eac610627a33b973bf0dc260
src/components/FileUpload/index.vue
@@ -46,7 +46,7 @@
});
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const emit = defineEmits(['update:modelValue','closePopup']);
const emit = defineEmits(['update:modelValue','closePopup','openPopup']);
const number = ref(0);
const uploadList = ref<any[]>([]);
//互联网端
@@ -172,9 +172,9 @@
  }
}
const handleUploadProgress=(e: any) => {
  debounce(() =>{
    emit('closePopup','123123');
  },1500)
  // downloadProgress.value = downloadProgress.value + 50
  // emit('closePopup','123123');
  emit('openPopup','123123');
}
// 上传成功回调
const handleUploadSuccess = (res: any, file: UploadFile) => {