xbx #126

Merged
theluyuan merged 9 commits from xbx into master 2020-11-12 02:40:09 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 84d3e45292 - Show all commits

View File

@ -94,7 +94,7 @@ export default {
shipinyaoqiu: "Video requirements:",
shipinyaoqiu1: "The time required for uploading video is within 30s",
shipinyaoqiu2: "Support file size 100m",
shipinyaoqiu3: "File extension: FIV, MP4",
shipinyaoqiu3: "File extension: FLV, MP4, MOV, AVI, WAV",
ziwojieshao: "self-introduction",
lianxifangshi: "contact information",
genghuanshoujihao: "Change mobile phone number",

View File

@ -94,7 +94,7 @@ export default {
shipinyaoqiu:"视频要求:",
shipinyaoqiu1:"上传视频时间要求为30s之内",
shipinyaoqiu2:"支持文件大小100M",
shipinyaoqiu3:"文件扩展名fiv、mp4",
shipinyaoqiu3:"文件扩展名flv、mp4、mov、avi、wav",
fengmianyaoqiu:"封面要求:",
fengmianyaoqiu1:"文件扩展名jpgpng",
fengmianyaoqiu2:"文件大小限制2M",

View File

@ -77,7 +77,7 @@ export function provenimg(name: string): boolean{
*/
export function provenvideo(name: string): boolean{
const type = ['flv', 'mp4'];
const type = ['flv', 'mp4', 'wmv', 'mov', 'avi'];
const ntypearr = name.split('.');
const ntype = ntypearr[ntypearr.length - 1];
for(const i in type){