fix(route): 修复 imgUrls 没有 join 的问题

This commit is contained in:
CaoMeiYouRen 2024-04-01 17:01:55 +08:00
parent 8928e1e598
commit 53b064f2c0
No known key found for this signature in database
GPG Key ID: C1281DB2FA902F23
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ const getImgs = (data: Modules) => {
if (major[type]?.cover) {
imgUrls.push(major[type].cover);
}
return imgUrls.map((url) => `<img src="${url}">`);
return imgUrls.map((url) => `<img src="${url}">`).join('');
};
const getUrl = (item?: Item2, useAvid = false) => {