We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
版本号:3.6.3
问题描述: 上传组件JUpload配置beforeUpload阻止了上传,前端页面中还是显示该缩略图。
截图&代码: 例如:
{ label: '图片', field: 'logo', component: 'JUpload', componentProps: { multiple: false, bizPath: 'sale/customer/info/logo', fileType: UploadTypeEnum.image, maxCount: 1, replaceLastOne: true, beforeUpload: (file) => { console.log(file.size, file.size > 512 * 1024); if (file.size > 512 * 1024) { return Promise.reject('请上传小于 512 KB的图片!'); // return false; } return true; }, }, },
自行解决的方法:
The text was updated successfully, but these errors were encountered:
解决了吗?
Sorry, something went wrong.
zy
No branches or pull requests
版本号:3.6.3
问题描述:
上传组件JUpload配置beforeUpload阻止了上传,前端页面中还是显示该缩略图。
截图&代码:
例如:
自行解决的方法:
The text was updated successfully, but these errors were encountered: