@@ -298,7 +298,6 @@ export default { | |||
}, | |||
/* 选择省市区 */ | |||
selectArea(value, type, name){ | |||
this.getListBycode(value, type, name) | |||
if (type === 'province') { | |||
this.cityList = [] | |||
this.districtList = [] | |||
@@ -312,6 +311,7 @@ export default { | |||
this.form.districtCode = null | |||
this.form.districtName = null | |||
} | |||
this.getListBycode(value, type, name) | |||
}, | |||
/* 根据选择的选中的code返回子项列表 */ | |||
getListBycode(code, name, childrenName) { |