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: {
value (val) {
this.disableEmitChange = true;
if(this.currentValue !== val){
this.disableEmitChange = true;
}
this.currentValue = val;
},
currentValue (val) {
@ -161,4 +163,4 @@
}
}
};
</script>
</script>