fix: tree-select clear button render (#4655)

pull/4642/head
ajuner 3 years ago committed by GitHub
parent 2ce3f44403
commit 3b8b19ea8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save