|
|
@ -74,7 +74,10 @@ function VideoUploadList (props) {
|
|
|
|
clearInput()
|
|
|
|
clearInput()
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (file.size >(parseInt(MAX_FILE_SIZE) * 1024 * 1024)) {
|
|
|
|
|
|
|
|
|
|
|
|
if(props&&props.user.admin===true||props&&props.user.business===true){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else if (file.size >(parseInt(MAX_FILE_SIZE) * 1024 * 1024)) {
|
|
|
|
// 超过500m TODO
|
|
|
|
// 超过500m TODO
|
|
|
|
clearInput()
|
|
|
|
clearInput()
|
|
|
|
showNotification(`视频大小超过${MAX_FILE_SIZE}M`)
|
|
|
|
showNotification(`视频大小超过${MAX_FILE_SIZE}M`)
|
|
|
|