This commit is contained in:
red-deng-deng 2021-11-22 19:58:20 +08:00
parent 050be9055c
commit ce9e3c597e
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ export default class acclist extends React.Component{
}); });
} }
onUploadError = (type, data) => { onUploadError = (type, data) => {
if (type === 'overMaxSize') { if (type === 'overMaxSize') {
Notify.error(`文件大小不能超过 ${data.formattedMaxSize}`); Notify.error(`文件大小不能超过 ${data.formattedMaxSize}`);
} }