app
qirong
2024-01-09 ade0a9866acd10139562ca5b093873781ddb93ae
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) => {