@ -74,7 +74,10 @@ function VideoUploadList (props) {
clearInput()
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
showNotification(`视频大小超过${MAX_FILE_SIZE}M`)