替换了格式

This commit is contained in:
luyuan 2020-11-12 09:26:51 +08:00
parent 1f2cae25fd
commit 84d3e45292
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
3 changed files with 3 additions and 3 deletions

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){