mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 10:18:11 +08:00
feat: 下拉框查询组件非空过滤
This commit is contained in:
@@ -68,7 +68,7 @@ class TextSelectServiceImpl extends WidgetService {
|
||||
|
||||
optionDatas(datas) {
|
||||
if (!datas) return null
|
||||
return datas.map(item => {
|
||||
return datas.filter(item => !!item).map(item => {
|
||||
return {
|
||||
id: item,
|
||||
text: item
|
||||
|
||||
Reference in New Issue
Block a user