bug修复

This commit is contained in:
FengHui
2026-05-15 16:44:25 +08:00
parent e857c008b4
commit 263573eeaa
8 changed files with 39 additions and 93 deletions

View File

@@ -116,7 +116,7 @@ const useDictStore = defineStore("dict", () => {
if (state[dictType] && Array.isArray(state[dictType])) {
for (let i = 0; i < state[dictType].length; i++) {
let element = state[dictType][i];
if (element.value === value) {
if (String(element.value) === String(value)) {
return element.label
}
}