[Improvement] AddressEdit: add focus、change-area、select-search events (#426)

This commit is contained in:
neverland
2017-12-13 17:36:25 +08:00
committed by GitHub
parent a19cfe51ca
commit c2bef6ef15
6 changed files with 148 additions and 30 deletions

View File

@@ -145,6 +145,11 @@ export default create({
[DEFAULT_COUNTY].concat(this.computedAreaList(COUNTY_TYPE, code.slice(0, 4)))
);
}
},
getValues() {
const { picker } = this.$refs;
return picker ? picker.getValues() : [];
}
}
});