[Improvement] AddressEdit: event order (#1402)

This commit is contained in:
neverland
2018-07-04 13:34:43 +08:00
committed by GitHub
parent 815464e965
commit eeef8b4ec3

View File

@@ -71,8 +71,8 @@ export default create({
methods: { methods: {
onSelect(express) { onSelect(express) {
this.$emit('input', `${express.address || ''} ${express.name || ''}`.trim());
this.$emit('select-search', express); this.$emit('select-search', express);
this.$emit('input', `${express.address || ''} ${express.name || ''}`.trim());
} }
} }
}); });