Warehouse/improve2
This commit is contained in:
@@ -100,7 +100,9 @@ Vue.component('tt-autocomplete', {
|
||||
},
|
||||
methods: {
|
||||
setOldDisplayValue(newValue, oldValue) {
|
||||
if (this.emitDisplayValue && newValue) this.$emit('displayValue', newValue);
|
||||
if (this.emitDisplayValue && newValue && typeof this.value !== 'number') {
|
||||
this.$emit('displayValue', newValue);
|
||||
}
|
||||
this.oldDisplayValue = oldValue;
|
||||
},
|
||||
async updateDisplayValue(newValue, oldValue) {
|
||||
|
||||
Reference in New Issue
Block a user