Merge pull request #3486 from Superman379/patch-1
修复autoComplete的on-change事件的bug
This commit is contained in:
commit
17d9922b08
1 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue