From b7776191e6a38dce5108747fc7a5d0d0bdae8461 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 31 Jan 2024 11:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuPublic.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SrcJuPublic.js b/SrcJuPublic.js index 583eeb4b..7490c108 100644 --- a/SrcJuPublic.js +++ b/SrcJuPublic.js @@ -70,10 +70,10 @@ function getListData(lx, selectType) { } //封装选择主页源方法 -function selectsource(selectType) { +function selectSource(selectType) { let sourcenames = []; - yidatalist.forEach(it=>{ - if(it.type==selectType && sourcenames.indexOf(it.name)==-1){ + getListData("yi",selectType).forEach(it=>{ + if(sourcenames.indexOf(it.name)==-1){ if(Juconfig[runMode+'sourcename'] == it.name){ it.name = '‘‘’’'+it.name+''; }