From 88186cbe547e21433a21665db027f522fd21e288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E4=BA=91?= Date: Fri, 23 May 2025 11:29:58 +0800 Subject: [PATCH] fix: notification --- repo/js/AutoLeyLineOutcrop/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/js/AutoLeyLineOutcrop/main.js b/repo/js/AutoLeyLineOutcrop/main.js index f2b99f8c..122e481b 100644 --- a/repo/js/AutoLeyLineOutcrop/main.js +++ b/repo/js/AutoLeyLineOutcrop/main.js @@ -665,7 +665,7 @@ function loadSettings() { isNotification = settings.isNotification; if (isNotification) { - notification.send("全自动地脉花开始运行,以下是本次运行的配置:\n\n地脉花类型:{1}\n国家:{2}\n刷取次数:{3}", settings.leyLineOutcropType, settings.country, settings.timesValue); + notification.send(`全自动地脉花开始运行,以下是本次运行的配置:\n\n地脉花类型:${settings.leyLineOutcropType}\n国家:${settings.country}\n刷取次数:${settings.timesValue}`); } } catch (error) { log.error(`加载设置失败: ${error.message}`);