Merge pull request #3486 from Superman379/patch-1

修复autoComplete的on-change事件的bug
This commit is contained in:
Aresn 2018-05-04 11:16:44 +08:00 committed by GitHub
commit 17d9922b08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,9 @@
}, },
watch: { watch: {
value (val) { value (val) {
this.disableEmitChange = true; if(this.currentValue !== val){
this.disableEmitChange = true;
}
this.currentValue = val; this.currentValue = val;
}, },
currentValue (val) { currentValue (val) {