替换了格式

This commit is contained in:
2020-11-12 09:26:51 +08:00
parent 1f2cae25fd
commit 84d3e45292
3 changed files with 3 additions and 3 deletions

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