Эх сурвалжийг харах

select:fixed #2890 placeholder recover after options clear

thomasyonug 8 жил өмнө
parent
commit
080a996f3f

+ 1 - 1
packages/select/src/select.vue

@@ -221,7 +221,7 @@
 
     watch: {
       placeholder(val) {
-        this.currentPlaceholder = val;
+        this.cachedPlaceHolder = this.currentPlaceholder = val;
       },
 
       value(val) {