Commit 4a85456f authored by Medicean's avatar Medicean

filemanager preview .jpeg file

parent 426f564a
......@@ -429,7 +429,7 @@ class Files {
checkPreview(name) {
// 可预览文件后缀
let isPreviewed = false;
'jpg,png,gif,bmp,ico'.split(',').map(
'jpeg,jpg,png,gif,bmp,ico'.split(',').map(
(e) => {
name.toLowerCase().endsWith(`.${e}`) ? isPreviewed = true : 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment