mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
feature:自动化代码增加数据源配置功能
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user