[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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