2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00

修改bug

This commit is contained in:
leiyilu 2022-06-24 23:44:17 +08:00
parent 04e507dd8b
commit 1b9b3d7973

View File

@ -178,7 +178,7 @@ export async function Note(e, {
for (let val of image) { for (let val of image) {
list_img.push(val) list_img.push(val)
} }
var imgs =list_img.length==1?list_img.length[0]:list_img[lodash.random(0, list_img.length - 1)]; var imgs =list_img.length==1?list_img[0]:list_img[lodash.random(0, list_img.length - 1)];
return await Common.render("dailyNote/dailyNote", { return await Common.render("dailyNote/dailyNote", {
save_id: uid, save_id: uid,
uid: uid, uid: uid,