diff --git a/src/views/wellManage/detailWell.vue b/src/views/wellManage/detailWell.vue index 3819393..96ae71d 100644 --- a/src/views/wellManage/detailWell.vue +++ b/src/views/wellManage/detailWell.vue @@ -10,7 +10,7 @@ {{ wellForm[config.value]?wellForm[config.value]:config.placeholder }} @@ -157,7 +157,8 @@ } getAreaListPage(query).then(response => { this.quList = response.data.rows.filter(item => item.id === this.wellForm.qu) - this.wellForm.quName = this.quList.length > 0 ? this.quList[0].areaName : '' + const quName = this.quList.length > 0 ? this.quList[0].areaName : '' + this.$set(this.wellForm, 'quName', quName) }) }, // 获取区域2 @@ -171,7 +172,8 @@ } getAreaListPage(query).then(response => { this.jiedaoList = response.data.rows - this.wellForm.areaName = this.jiedaoList.length > 0 ? this.jiedaoList[0].areaName : '' + const areaName = this.jiedaoList.length > 0 ? this.jiedaoList[0].areaName : '' + this.$set(this.wellForm, 'areaName', areaName) }) }, // 取消