From 101438e35585056e779f5471e401421793aefe74 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 7 Jun 2024 16:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyPublic.js | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/SrcJyPublic.js b/SrcJyPublic.js index 4ef890b3..db1a88be 100644 --- a/SrcJyPublic.js +++ b/SrcJyPublic.js @@ -205,19 +205,17 @@ function selectSource() { defaultValue: "", click(s, manage) { let groupnames = getJiekouGroups(sourceAllList); - + inputBox.setDefaultValue(""); + //inputBox.setTitle("换分组"); //inputBox.setHint("不好了"); - showSelectOptions({ - title: "切换源分组", - options: groupnames, - col: 2, - js: $.toString((inputBox,manage,getGroupLists,sourceAllList) => { - inputBox.setTitle(input); - inputBox.setDefaultValue(""); - let sourceList = getGroupLists(sourceAllList, input); - manage.list = sourceList; - manage.change(); - },inputBox,manage,getGroupLists,sourceAllList) + hikerPop.selectCenter({ + options: groupnames, + columns: 2, + title: "切换源分组", + //position: 2, + click(a) { + inputBox.setTitle(a); + } }); }, titleVisible: true @@ -323,3 +321,6 @@ function colorTitle(title, Color) { return '' + title + ''; } + + +