修正特殊符号时面板图片显示异常问题 (#331)

This commit is contained in:
cvs 2022-12-01 03:07:41 +08:00 committed by GitHub
parent 82eb7b87cd
commit 13f7ac26a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ const CharImg = {
return /\.(png|webp)$/.test(file)
})
for (let img of imgs) {
ret.push(`${imgPath}/${img}`)
ret.push(`${imgPath}/${encodeURI(img)}`)
}
}
if (ret.length > 0) {