优化地址编辑页面城市名称获取问题 https://guangdagit.com/beike/beikeshop/issues/252

This commit is contained in:
pushuo 2022-09-19 11:30:23 +08:00 committed by Edward Yang
parent fae1588d18
commit bd2b81c9df
2 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,7 @@
if (typeof index == 'number') {
this.editIndex = index;
this.form = JSON.parse(JSON.stringify(this.addresses[index]))
this.countryChange(this.form.country_id);
}
this.editShow = true

View File

@ -295,6 +295,7 @@
this.$nextTick(() => {
this.dialogAddress.form = JSON.parse(JSON.stringify(this.source.addresses[index]))
this.countryChange(this.dialogAddress.form.country_id);
})
}