mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 04:08:34 +08:00
* fix(components): [el-tree] emptyText empty string is invalid (#4135) * fix: emptyText empty judge
This commit is contained in:
parent
86866f6725
commit
fb8fc98c63
@ -23,7 +23,7 @@
|
||||
/>
|
||||
<div v-if="isEmpty" class="el-tree__empty-block">
|
||||
<span class="el-tree__empty-text">{{
|
||||
emptyText || t('el.tree.emptyText')
|
||||
emptyText ?? t('el.tree.emptyText')
|
||||
}}</span>
|
||||
</div>
|
||||
<div
|
||||
|
Loading…
Reference in New Issue
Block a user