odc.xiaohui
2023-12-22 bb3a5ebcda40e43c0fc81e265c2959fece8836e7
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[]>([]);
//互联网端
@@ -171,9 +171,10 @@
  }
}
const handleUploadProgress=(e: any) => {
  console.log('handleUploadProgress?');
  // downloadProgress.value = downloadProgress.value + 50
  // emit('closePopup','123123');
  emit('openPopup','123123');
  // emit('openPopup','123123');
}
// 上传成功回调
const handleUploadSuccess = (res: any, file: UploadFile) => {