增加webp上传格式

This commit is contained in:
2022-08-24 15:16:20 +08:00
parent ed08fb1d60
commit b3f42b8869
4 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ define(["jquery", "tableSelect", "ckeditor", 'miniTheme', 'tableData', 'citypick
var extGroup = {
// 图片扩展名数组
'image': ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'ico'],
'image': ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'ico', 'webp'],
// word扩展名数组
'word': ['doc', 'docx'],
// excel扩展名数组
@@ -695,7 +695,7 @@ define(["jquery", "tableSelect", "ckeditor", 'miniTheme', 'tableData', 'citypick
} else {
trueHide = colItem.trueHide;
}
if (!trueHide) {
newCol.push(colItem)
}