[bugfix] AddressEdit: fix test cases (#1393)
This commit is contained in:
@@ -282,12 +282,10 @@ export default create({
|
||||
setAreaCode(code) {
|
||||
this.data.area_code = code || '';
|
||||
this.$nextTick(() => {
|
||||
this.$nextTick(() => {
|
||||
const { area } = this.$refs;
|
||||
if (area) {
|
||||
this.assignAreaValues(area.getValues());
|
||||
}
|
||||
});
|
||||
const { area } = this.$refs;
|
||||
if (area) {
|
||||
this.assignAreaValues(area.getValues());
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user