Skip to content

Commit 3b8b19e

Browse files
authored
fix: tree-select clear button render (#4655)
1 parent 2ce3f44 commit 3b8b19e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-tree-select/src/Base/BaseSelector.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default function () {
9999
vcTreeSelect: { onSelectorClear },
100100
} = this;
101101

102-
if (!allowClear || !selectorValueList.length || !selectorValueList[0].value) {
102+
if (!allowClear || !selectorValueList.length) {
103103
return null;
104104
}
105105
const clearIcon = getComponent(this, 'clearIcon');

0 commit comments

Comments
 (0)