fix: 🐛 字典和菜单打包警告问题修复
This commit is contained in:
@@ -22,7 +22,7 @@ function handleConfirm(data: IUser[]) {
|
||||
}
|
||||
const text = computed(() => {
|
||||
// 获取字典数据
|
||||
const dictData = dictStore.getDictionary("gender");
|
||||
const dictData = dictStore.getDictItems("gender");
|
||||
const genderLabel = dictData.find((item: any) => item.value == selectedUser.value?.gender)?.label;
|
||||
return selectedUser.value
|
||||
? `${selectedUser.value.username} - ${genderLabel} - ${selectedUser.value.deptName}`
|
||||
|
||||
Reference in New Issue
Block a user