Skip to content

Commit 77fa5ac

Browse files
committed
fix: 修复名单选择器 tooltip 错误
1 parent 7ede0f7 commit 77fa5ac

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

components/settings/group.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@ const names = computed({
88
get: () => useGroup(config.group).value,
99
set: v => useGroup(config.group).value = v,
1010
})
11-
/**
12-
* @member label 名单在列表中的索引
13-
* @member value 名单名称
14-
*/
1511
const groups = computed<SelectOption[]>(() => {
16-
return useGroupList().value.map((item, index) => ({
17-
label: index.toString(),
12+
return useGroupList().value.map(item => ({
13+
label: '',
1814
value: item,
1915
class: 'group-name-item',
2016
}))

0 commit comments

Comments
 (0)