Commit cdbe51f4 authored by zhoutong's avatar zhoutong

修复地址组件显示问题

parent da38b076
...@@ -48,11 +48,9 @@ export default { ...@@ -48,11 +48,9 @@ export default {
}, },
'formData.country'(country){ 'formData.country'(country){
this.$emit('countryChange', country) this.$emit('countryChange', country)
this.$set(this.formData, 'province', undefined)
}, },
'formData.province'(province){ 'formData.province'(province){
this.$emit('provinceChange', province) this.$emit('provinceChange', province)
this.$set(this.formData, 'city', '')
} }
}, },
computed:{ computed:{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment