From 616a0ee5868bb35ef48bde2730d66a2b3d9f472d Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 6 Jun 2024 14:49:04 +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 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/SrcJu.js b/SrcJu.js index c5e11680..3b1b90c1 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -204,7 +204,7 @@ function yiji() { title: runMode==it?`““””`+it+``:it, url: runMode==it?$('#noLoading#').lazyRule((input) => { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuPublic.js'); - return selectSource2(input); + return selectSource(input); }, it):$('#noLoading#').lazyRule((cfgfile,Juconfig,input) => { Juconfig["runMode"] = input; writeFile(cfgfile, JSON.stringify(Juconfig)); @@ -240,6 +240,18 @@ function yiji() { refreshPage(false); }) }) + },{ + title: "选源方式:" + (getItem("selectSource_col_type")=='hikerPop'?"hikerPop":"原生组件"), + js: $.toString(() => { + return $(["hikerPop","原生组件"], 1).select(() => { + if(input=='hikerPop'){ + setItem("selectSource_col_type","hikerPop"); + }else{ + clearItem("selectSource_col_type"); + } + refreshPage(false); + }) + }) }] } }