| | |
| | | * @LastEditors : yuan |
| | | * @LastEditTime : 2026-01-20 17:20:21 |
| | | * @FilePath : \packages\utils\common\index.js |
| | | * @Description : |
| | | * Copyright 2026 OBKoro1, All Rights Reserved. |
| | | * @Description : |
| | | * Copyright 2026 OBKoro1, All Rights Reserved. |
| | | * 2026-01-20 17:01:20 |
| | | */ |
| | | export function fieldRules(required,max) { |
| | |
| | | } |
| | | |
| | | |
| | | export function getDictLabel(value, dictList) { |
| | | export function getDictLabel(value, dictList = []) { |
| | | return dictList.filter(item => String(value).includes(String(item.dictKey))).map(item => item.dictValue).join(',') |
| | | } |
| | | |