fix: 修复 crud 点选出现无线循环的问题 Close: #8523

This commit is contained in:
2betop 2023-10-27 11:57:54 +08:00
parent 80fcdbb5ab
commit 1c7771fe29

View File

@ -1253,7 +1253,7 @@ export const FormItemStore = StoreNode.named('FormItemStore')
}
});
if (filteredOptions.length) {
if (filteredOptions.length && options.length) {
filteredOptions = mapTree(filteredOptions, item => {
if (~options.indexOf(item.value)) {
return {