吉安感知网项目-前端
罗广辉
2026-01-08 d9188c6a40cf73d831ad178df67fed9f19881672
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 || '-'
}