Merge branch 'developer' of http://code.cyweb.top/scj/zhxy/v3/cloud-ui into developer

This commit is contained in:
yaojian
2026-03-06 11:49:08 +08:00
5 changed files with 37 additions and 23 deletions

View File

@@ -503,7 +503,7 @@ const handlePreview = async (file: any) => {
const ext = fileName.split('.').pop()?.toLowerCase() || '';
// 判断是否是图片
const imageExts = ['png', 'jpg', 'jpeg', 'gif', 'bmp', 'webp'];
const imageExts = ['png', 'jpg', 'jpeg'];
// 判断是否是PDF
const isPdf = ext === 'pdf';