bug bug bug filters.js
This commit is contained in:
@@ -3,6 +3,7 @@ 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 || '-'
|
||||
}
|
||||
}
|
||||
@@ -21,8 +22,4 @@ export const pick = (obj, paths) => {
|
||||
}
|
||||
})
|
||||
return result
|
||||
}
|
||||
|
||||
export const dictFind = (which) => {
|
||||
return () => 1
|
||||
}
|
||||
Reference in New Issue
Block a user