From e62c113c936f8886d41491397b4ba085a76505a9 Mon Sep 17 00:00:00 2001 From: satori Date: Mon, 16 Dec 2024 11:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=BD=93=E6=97=A5=E7=83=AD?= =?UTF-8?q?=E9=97=A8=E6=90=9C=E7=B4=A2=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 71b563c..44e6362 100644 --- a/main.js +++ b/main.js @@ -38,7 +38,7 @@ export function get_search(n = 10) { const ex = new Map() const all = { 文章, 作品, 游戏, 截图, 收藏, 综合 } for (const key in all) { - all[key].搜索词.forEach((value, key) => { + all[key].搜索词.日.forEach((value, key) => { ex.set(key, (ex.get(key) || 0) + value) }) }