feature:自动化代码增加数据源配置功能

This commit is contained in:
pixelmaxQM
2024-04-27 21:48:24 +08:00
parent d9a43ea1d6
commit ff8344d671
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export const filterDict = (value, options) => {
export const filterDataSource = (dataSource, value) => {
const rowLabel = dataSource && dataSource.find(item => item.value === value)
return rowLabel.label
return rowLabel?.label
}
export const getDictFunc = async(type) => {