From 1b9b3d7973538a3c96596065e563f28c2f2b258f Mon Sep 17 00:00:00 2001 From: leiyilu <1509167646@qq.com> Date: Fri, 24 Jun 2022 23:44:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/Note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Note.js b/apps/Note.js index d1ff779..8d43f11 100644 --- a/apps/Note.js +++ b/apps/Note.js @@ -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,