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); + }) + }) }] } }