Commit 469042e8 authored by 黄媛媛's avatar 黄媛媛

update

parent 314a75b6
......@@ -292,7 +292,7 @@ export default {
// });
// },
uploadFileBtn(file) {
if (['video/mp4', 'video/ogg','video/avi', 'video/wmv', 'video/rmvb', 'video/mov'].indexOf(file.file.type) == -1) {
if (['video/mp4', 'video/ogg','video/webm','video/avi', 'video/wmv', 'video/rmvb', 'video/mov'].indexOf(file.file.type) == -1) {
this.Error("请上传正确的视频格式");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment