forked from github/dataease
feat: 下拉框查询组件非空过滤
This commit is contained in:
parent
d908467028
commit
3d7a65aa93
@ -68,7 +68,7 @@ class TextSelectServiceImpl extends WidgetService {
|
|||||||
|
|
||||||
optionDatas(datas) {
|
optionDatas(datas) {
|
||||||
if (!datas) return null
|
if (!datas) return null
|
||||||
return datas.map(item => {
|
return datas.filter(item => !!item).map(item => {
|
||||||
return {
|
return {
|
||||||
id: item,
|
id: item,
|
||||||
text: item
|
text: item
|
||||||
|
Loading…
Reference in New Issue
Block a user