gongchunyi
2 天以前 2d3bb4a43dc6c0e5e2df4a61f6c0122bcf98f8b2
src/components/Upload/FileUpload.vue
@@ -49,9 +49,14 @@
  emits("remove", file);
};
const clearFiles = () => {
  fileList.value = [];
};
defineExpose({
  fileList,
  uploadApi,
  clearFiles,
});
</script>