From 8900fe9ef6d5de9b2eb9f3cc488619b4e3458381 Mon Sep 17 00:00:00 2001
From: src48597962 <48597962@qq.com>
Date: Thu, 13 Jul 2023 11:46:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJu.js'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
SrcJu.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/SrcJu.js b/SrcJu.js
index a488e081..fbbee5e7 100644
--- a/SrcJu.js
+++ b/SrcJu.js
@@ -257,13 +257,13 @@ function yiji() {
})
runModes.forEach((it) =>{
d.push({
- title: getMyVar("sousuoPageType",runMode)==it?`““””`+it+``:it,
- url: $('#noLoading#').lazyRule((it) => {
- putMyVar("sousuoPageType",it);
- initConfig({依赖: getMyVar('SrcJuCfg')});
+ title: Juconfig["runMode"]==it?`““””`+it+``:it,
+ url: $('#noLoading#').lazyRule((cfgfile,Juconfig,input) => {
+ Juconfig["runMode"] = input;
+ writeFile(cfgfile, JSON.stringify(Juconfig));
refreshPage(false);
- return "hiker://empty";
- },it),
+ return 'toast://运行模式已切换为:' + input;
+ }, cfgfile, Juconfig ,it),
col_type: 'scroll_button'
});
})