吉安感知网项目-前端
shuishen
2026-01-08 86f081d4a38786c11295c08a0c453ce6c9944e85
packages/utils/common/index.js
@@ -5,3 +5,7 @@
      max ? { max, message: `长度不超过${max}`, trigger } : {},
   ]
}
export function getDictLabel(value, dictList) {
   return dictList.find(item => item.dictKey === value)?.dictValue || value || '-'
}