This commit is contained in:
commit
f47e201334
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue