diff --git a/apps/web-antd/src/views/infra/file/modules/form.vue b/apps/web-antd/src/views/infra/file/modules/form.vue index 4b653571..0d961dfd 100644 --- a/apps/web-antd/src/views/infra/file/modules/form.vue +++ b/apps/web-antd/src/views/infra/file/modules/form.vue @@ -50,6 +50,7 @@ const [Modal, modalApi] = useVbenModal({ /** 上传前 */ function beforeUpload(file: FileType) { + // TODO @puhui999:研究下,看看怎么类似 antd 可以前端直传哈;通过配置切换; formApi.setFieldValue('file', file); return false; } @@ -61,6 +62,7 @@ function beforeUpload(file: FileType) {