|
|
@@ -358,7 +358,7 @@ function MagicJS(scriptName = "MagicJS", logLevel = "INFO") {
|
|
|
subTitle = "", body = arguments[0];
|
|
|
}
|
|
|
// 生成通知日志
|
|
|
- this.logNotify(`title:${title}`+'\n'+`subTitle:${subTitle}`+'\n'+`body:${body}`+'\n'+`options:${typeof opts === "object" ? JSON.stringify(opts) : opts}`);
|
|
|
+ this.logNotify('\n'+`title:${title}`+'\n'+`subTitle:${subTitle}`+'\n'+`body:${body}`+'\n'+`options:${typeof opts === "object" ? JSON.stringify(opts) : opts}`);
|
|
|
if (this.isSurge) {
|
|
|
$notification.post(title, subTitle, body, opts);
|
|
|
} else if (this.isLoon) {
|