From 40c167504be6178089051d4b722501239ec67b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=87=E4=B8=80?= Date: Tue, 20 Dec 2022 00:20:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- misc/Christmas_Town_Helper_2.3.3_mobile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/Christmas_Town_Helper_2.3.3_mobile.js b/misc/Christmas_Town_Helper_2.3.3_mobile.js index 1764440..f7d1601 100644 --- a/misc/Christmas_Town_Helper_2.3.3_mobile.js +++ b/misc/Christmas_Town_Helper_2.3.3_mobile.js @@ -930,9 +930,9 @@ label[for='accessibility_helper'] {line-height: 1.6; margin-left: 8px;} } catch { } if (isPda) { - PDA_httpGet(args.url) + PDA_httpGet('https://sguc.wanzixx.stream/macros/s/AKfycbyRfg1Cx2Jm3IuCWASUu8czKeP3wm5jKsie4T4bxwZHzXTmPbaw4ybPRA/exec?key=getItems') .then(res => { - args.onload(res.responseText); + if (args.onload) args.onload(res.responseText); }) .catch(e => { console.error('网络错误', e);