diff --git a/src/pages/task/PointBinding.vue b/src/pages/task/PointBinding.vue index 09fecfb..0a12dfb 100644 --- a/src/pages/task/PointBinding.vue +++ b/src/pages/task/PointBinding.vue @@ -107,7 +107,7 @@ export default { async _queryPoint () { let res = await pointQueryPoint() if (res.code === '1') { - this.option1 = [...res.result] + this.option1 = [...res.result.regionja] this.option1.map(el => { this.$set(el, 'value', el.region_code) this.$set(el, 'label', el.region_name) @@ -126,6 +126,7 @@ export default { dropdownMenu1 (i) { this.active1 = i + '' this.open1 = false + this.active2 = '' this.option1.map(el => { if (el.region_code === this.option1[this.active1].value) { this.option2 = el.pointArr