From cc660e69e605b7a1b9d641295c4cfc4430d4bc64 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 7 Jul 2024 17:01:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyPublic.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SrcJyPublic.js b/SrcJyPublic.js index 7ee6d13e..d4826023 100644 --- a/SrcJyPublic.js +++ b/SrcJyPublic.js @@ -534,5 +534,12 @@ function getHistory(){ }) return h; } +//重定义打印日志 +var xlog = log; +log = function (msg) { + if (getItem('规则日志打印')=="1") { + xlog(msg); + } +}