mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-16 03:45:07 +08:00
1. 修复 DictTag 对 boolean 的 false 处理不展示
2. vue 重构:增加配置管理的 form 表单
This commit is contained in:
@ -55,7 +55,7 @@ export const getBoolDictOptions = (dictType: string) => {
|
||||
dictOptions.forEach((dict: DictDataType) => {
|
||||
dictOption.push({
|
||||
...dict,
|
||||
value: dict.value + '' === 'true' ? true : false
|
||||
value: dict.value + '' === 'true'
|
||||
})
|
||||
})
|
||||
return dictOption
|
||||
|
Reference in New Issue
Block a user