From e6d0ce8537929b2d41639ec2b022499ad179df7d Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 2 May 2023 13:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuMethod.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuMethod.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SrcJuMethod.js b/SrcJuMethod.js index a5ae83fa..f7984cc7 100644 --- a/SrcJuMethod.js +++ b/SrcJuMethod.js @@ -62,6 +62,7 @@ function banner(start, arr, data, cfg){ } let obj = { data: data, + method: config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuMethod.js' }; registerTask(id, time, $.toString((obj) => { var data = obj.data; @@ -78,7 +79,7 @@ function banner(start, arr, data, cfg){ } var item = data[i]; try { - require($.require('config?rule=' + MY_RULE.title).method); + require(obj.method); updateItem('bar', toerji(item)); } catch (e) { log(e.message)