From 89406f26dba2a6286dc39673fade9aa3d08f3047 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 14 Mar 2023 22:21:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyMenu.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyMenu.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/SrcJyMenu.js b/SrcJyMenu.js index 1da69dc7..683d32e9 100644 --- a/SrcJyMenu.js +++ b/SrcJyMenu.js @@ -168,34 +168,34 @@ function lookset(){ col_type: "text_2" }); d.push({ - title: (JYconfig['alistLine']==1?getide(1):getide(0))+'Alist搜索', + title: (JYconfig['yundiskLine']==1?getide(1):getide(0))+'云盘搜索', url: $('#noLoading#').lazyRule((JYconfig,cfgfile) => { - if(JYconfig['alistLine'] != 1){ - JYconfig['alistLine'] = 1; - putMyVar('alistLine','1'); + if(JYconfig['yundiskLine'] != 1){ + JYconfig['yundiskLine'] = 1; + putMyVar('yundiskLine','1'); }else{ - JYconfig['alistLine'] = 0; - putMyVar('alistLine','0'); + JYconfig['yundiskLine'] = 0; + putMyVar('yundiskLine','0'); } writeFile(cfgfile, JSON.stringify(JYconfig)); refreshPage(false); - return 'toast://'+JYconfig['alistLine']?'已开启Alist搜索线路':'已关闭Alist搜索线路'; + return 'toast://'+JYconfig['alistLine']?'已开启云盘搜索线路':'已关闭云盘搜索线路'; }, JYconfig, cfgfile), col_type: "text_2" }); d.push({ - title: (JYconfig['yundiskLine']==1?getide(1):getide(0))+'云盘搜索', + title: (JYconfig['alistLine']==1?getide(1):getide(0))+'Alist搜索', url: $('#noLoading#').lazyRule((JYconfig,cfgfile) => { - if(JYconfig['yundiskLine'] != 1){ - JYconfig['yundiskLine'] = 1; - putMyVar('yundiskLine','1'); + if(JYconfig['alistLine'] != 1){ + JYconfig['alistLine'] = 1; + putMyVar('alistLine','1'); }else{ - JYconfig['yundiskLine'] = 0; - putMyVar('yundiskLine','0'); + JYconfig['alistLine'] = 0; + putMyVar('alistLine','0'); } writeFile(cfgfile, JSON.stringify(JYconfig)); refreshPage(false); - return 'toast://'+JYconfig['alistLine']?'已开启云盘搜索线路':'已关闭云盘搜索线路'; + return 'toast://'+JYconfig['alistLine']?'已开启Alist搜索线路':'已关闭Alist搜索线路'; }, JYconfig, cfgfile), col_type: "text_2" });