|
|
@ -194,6 +194,11 @@ export default { |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|
'ids': function (val) { |
|
|
'ids': function (val) { |
|
|
|
|
|
if (val.length === 0) { |
|
|
|
|
|
this.dataForm.streetId = '' |
|
|
|
|
|
this.dataForm.communityId = '' |
|
|
|
|
|
this.dataForm.gridId = '' |
|
|
|
|
|
} |
|
|
if (val.length === 1) { |
|
|
if (val.length === 1) { |
|
|
this.dataForm.streetId = this.ids[0] |
|
|
this.dataForm.streetId = this.ids[0] |
|
|
} |
|
|
} |
|
|
|