Skip to content

Commit

Permalink
显示字典 label
Browse files Browse the repository at this point in the history
  • Loading branch information
tangllty committed Nov 15, 2023
1 parent df8c0d9 commit 879412a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public List<DictTreeSelect> selectDictTree(SysDictType dictType) {
var treeSelect = new DictTreeSelect(String.valueOf(type.getTypeId()), type.getTypeName());
var children = dictDataList.stream()
.filter(data -> data.getDictType().equals(type.getDictType()))
.map(data -> new DictTreeSelect(type.getTypeId() + "-" + data.getDataId(), data.getDataValue()))
.map(data -> new DictTreeSelect(type.getTypeId() + "-" + data.getDataId(), data.getDataLabel()))
.toList();
treeSelect.setChildren(children);
list.add(treeSelect);
Expand Down

0 comments on commit 879412a

Please sign in to comment.