权限调整

video_transcode
杨树明 5 years ago
parent 518ed32727
commit f9fa865f77

@ -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
clearInput()
showNotification(`视频大小超过${MAX_FILE_SIZE}M`)

Loading…
Cancel
Save