2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +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) {
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", {
save_id: uid,
uid: uid,