|
@@ -461,7 +461,9 @@ export default {
|
|
|
...res.data
|
|
|
}
|
|
|
const item = this.tradeParentList.find(k => k.id === res.data.tradeParentId)
|
|
|
- this.tradeList = item.childList
|
|
|
+ if (item.childList && item.childList.length) {
|
|
|
+ this.tradeList = item.childList
|
|
|
+ }
|
|
|
this.getRegion(1, this.formData.provinceRegionId)
|
|
|
this.getRegion(2, this.formData.cityRegionId)
|
|
|
})
|