mirror of https://github.com/ElemeFE/element
fix: issues #16578, 修复已经有选中值,切换语言placeholder显示的问题
parent
8ab1db83c5
commit
80149e03b1
|
@ -342,7 +342,8 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
propPlaceholder(val) {
|
propPlaceholder(val) {
|
||||||
this.cachedPlaceHolder = this.currentPlaceholder = val;
|
this.currentPlaceholder = (this.value && this.value.length > 0) ? '' : val;
|
||||||
|
this.cachedPlaceHolder = val;
|
||||||
},
|
},
|
||||||
|
|
||||||
value(val, oldVal) {
|
value(val, oldVal) {
|
||||||
|
|
Loading…
Reference in New Issue