替换了格式
This commit is contained in:
parent
1f2cae25fd
commit
84d3e45292
@ -94,7 +94,7 @@ export default {
|
|||||||
shipinyaoqiu: "Video requirements:",
|
shipinyaoqiu: "Video requirements:",
|
||||||
shipinyaoqiu1: "The time required for uploading video is within 30s",
|
shipinyaoqiu1: "The time required for uploading video is within 30s",
|
||||||
shipinyaoqiu2: "Support file size 100m",
|
shipinyaoqiu2: "Support file size 100m",
|
||||||
shipinyaoqiu3: "File extension: FIV, MP4",
|
shipinyaoqiu3: "File extension: FLV, MP4, MOV, AVI, WAV",
|
||||||
ziwojieshao: "self-introduction",
|
ziwojieshao: "self-introduction",
|
||||||
lianxifangshi: "contact information",
|
lianxifangshi: "contact information",
|
||||||
genghuanshoujihao: "Change mobile phone number",
|
genghuanshoujihao: "Change mobile phone number",
|
||||||
|
@ -94,7 +94,7 @@ export default {
|
|||||||
shipinyaoqiu:"视频要求:",
|
shipinyaoqiu:"视频要求:",
|
||||||
shipinyaoqiu1:"上传视频时间要求为30s之内",
|
shipinyaoqiu1:"上传视频时间要求为30s之内",
|
||||||
shipinyaoqiu2:"支持文件大小100M",
|
shipinyaoqiu2:"支持文件大小100M",
|
||||||
shipinyaoqiu3:"文件扩展名:fiv、mp4",
|
shipinyaoqiu3:"文件扩展名:flv、mp4、mov、avi、wav",
|
||||||
fengmianyaoqiu:"封面要求:",
|
fengmianyaoqiu:"封面要求:",
|
||||||
fengmianyaoqiu1:"文件扩展名:jpg,png",
|
fengmianyaoqiu1:"文件扩展名:jpg,png",
|
||||||
fengmianyaoqiu2:"文件大小限制:2M",
|
fengmianyaoqiu2:"文件大小限制:2M",
|
||||||
|
@ -77,7 +77,7 @@ export function provenimg(name: string): boolean{
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export function provenvideo(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 ntypearr = name.split('.');
|
||||||
const ntype = ntypearr[ntypearr.length - 1];
|
const ntype = ntypearr[ntypearr.length - 1];
|
||||||
for(const i in type){
|
for(const i in type){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user