review:【EP】【BPM 工作流】infra 相关功能的实现
This commit is contained in:
@@ -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) {
|
||||
<template #file>
|
||||
<div class="w-full">
|
||||
<!-- 上传区域 -->
|
||||
<!-- TODO @puhui999:1)上传图片,用不了;2)底部有点遮挡 -->
|
||||
<Upload.Dragger
|
||||
name="file"
|
||||
:max-count="1"
|
||||
|
||||
Reference in New Issue
Block a user