上传视频大小限制提升到100m

This commit is contained in:
caoqianming 2022-04-13 00:51:22 +08:00
parent 45aa529ccb
commit 00c20c84d0
1 changed files with 2 additions and 2 deletions

View File

@ -251,8 +251,8 @@
var imagSize = fileObj.size;
if (imagSize > 1024 * 1024 * 10) {
alert("视频大小为:" + (imagSize / (1024 * 1024)).toFixed(2) + "M超出了上传大小" + "请选择10M以内的视频");
if (imagSize > 1024 * 1024 * 100) {
alert("视频大小为:" + (imagSize / (1024 * 1024)).toFixed(2) + "M超出了上传大小" + "请选择100M以内的视频");
$("#videoName").text('文件太大了超出范围!');
return false;
}