fix: tree-select clear button render (#4655)
parent
2ce3f44403
commit
3b8b19ea8c
|
@ -99,7 +99,7 @@ export default function () {
|
|||
vcTreeSelect: { onSelectorClear },
|
||||
} = this;
|
||||
|
||||
if (!allowClear || !selectorValueList.length || !selectorValueList[0].value) {
|
||||
if (!allowClear || !selectorValueList.length) {
|
||||
return null;
|
||||
}
|
||||
const clearIcon = getComponent(this, 'clearIcon');
|
||||
|
|
Loading…
Reference in New Issue