吉安感知网项目-前端
张含笑
2026-01-21 792403d97b0b0e06b9faba5c18c4886bf9f7586b
packages/utils/common/index.js
@@ -22,9 +22,13 @@
   return rules
}
export function getDictLabel(value, dictList = []) {
   return dictList.filter(item => String(value).includes(String(item.dictKey))).map(item => item.dictValue).join(',')
   if (value === null || value === undefined || value === '') return '';
   const values = String(value).split(',');
   return dictList
      .filter(item => values.includes(String(item.dictKey)))
      .map(item => item.dictValue)
      .join(',');
}
export function blobDownload(res) {