fix: issues #16578, 修复已经有选中值,切换语言placeholder显示的问题

pull/22045/head
panyong 2022-07-29 09:59:15 +08:00
parent 8ab1db83c5
commit 80149e03b1
1 changed files with 2 additions and 1 deletions

View File

@ -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) {