add SwitchBtn 组件
This commit is contained in:
@@ -3,7 +3,6 @@ import moment from 'moment'
|
||||
|
||||
export const dictFilter = dictTypeId => {
|
||||
return val => {
|
||||
console.log('ddd', (JSON.parse(localStorage.getItem('dictList')))[dictTypeId])
|
||||
return JSON.parse(localStorage.getItem('dictList'))[dictTypeId].find(item => item.dictValue === val)?.dictLabel || '-'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user