diff --git a/components/apolloTable/component/base/extra/dataEntry/textSelect/index.tsx b/components/apolloTable/component/base/extra/dataEntry/textSelect/index.tsx index a6333c7803bbfc7f864ca0bcfaa9a4c7b5f7accf..f2a1bbe2b43c9b45cdb835adf82e160f50b204e7 100644 --- a/components/apolloTable/component/base/extra/dataEntry/textSelect/index.tsx +++ b/components/apolloTable/component/base/extra/dataEntry/textSelect/index.tsx @@ -150,7 +150,7 @@ class TextSelect extends React.Component { onDropdownVisibleChange(tempVisible); if (!tempVisible) { // 清空或者为空对象时,强制置空 - if (!selected || selected.length === 0 || (!selected.label || !selected.value || !selected.key)) { + if (!selected || selected.length === 0 || (!selected.label && !selected.value && !selected.key)) { return this.onChange(undefined); } this.onChange(selected);