|
|
@ -205,18 +205,21 @@ function selectSource() { |
|
|
|
defaultValue: "", |
|
|
|
defaultValue: "", |
|
|
|
click(s, manage) { |
|
|
|
click(s, manage) { |
|
|
|
let groupnames = getJiekouGroups(sourceAllList); |
|
|
|
let groupnames = getJiekouGroups(sourceAllList); |
|
|
|
//inputBox.setDefaultValue("");
|
|
|
|
//inputBox.setHint("提示");
|
|
|
|
//inputBox.setTitle("换分组");
|
|
|
|
|
|
|
|
//inputBox.setHint("不好了");
|
|
|
|
|
|
|
|
hikerPop.selectCenter({ |
|
|
|
hikerPop.selectCenter({ |
|
|
|
options: groupnames,
|
|
|
|
options: groupnames,
|
|
|
|
columns: 2,
|
|
|
|
columns: 2,
|
|
|
|
title: "切换源分组",
|
|
|
|
title: "切换源分组",
|
|
|
|
position: groupnames.indexOf(sourceName),
|
|
|
|
//position: groupnames.indexOf(sourceName),
|
|
|
|
click(a) { |
|
|
|
click(a) { |
|
|
|
inputBox.setTitle(a); |
|
|
|
inputBox.setTitle(a); |
|
|
|
inputBox.setDefaultValue(""); |
|
|
|
inputBox.setDefaultValue(""); |
|
|
|
|
|
|
|
sourceList = getGroupLists(sourceAllList, a); |
|
|
|
|
|
|
|
names = sourceList.map((v,i) => { |
|
|
|
|
|
|
|
return v.name; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
manage.list = names; |
|
|
|
|
|
|
|
manage.change(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|