解决图片路径处理问题

This commit is contained in:
2022-06-28 11:35:45 +08:00
parent 9897f085ca
commit 5ebd403866
8 changed files with 30 additions and 34 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ export const toDecimal2 = (x) => {
* @returns
*/
export const formatImgUrl = (url, suffix="!w200") => {
return url?IMG_CND_Prefix + url + suffix:IMG_CND_Prefix +'/mall/no_img.png'
return url?url + suffix:IMG_CND_Prefix +'/mall/no_img.png'
}
/**