fix: 修复了一些东西,新增了方法

This commit is contained in:
2025-08-29 16:59:14 +08:00
parent 930cd461a6
commit 32d3669a50
15 changed files with 1706 additions and 1460 deletions

4
utils/utils.js Normal file
View File

@@ -0,0 +1,4 @@
export function checkImageUrl(url) {
// 如果url包含http则返回url反之加上 data:image/jpeg;base64,
return url.includes('http') ? url : 'data:image/jpeg;base64,' + url
};