feat: 下拉框查询组件非空过滤

This commit is contained in:
fit2cloud-chenyw 2021-05-20 17:07:19 +08:00
parent d908467028
commit 3d7a65aa93

View File

@ -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