This commit is contained in:
2023-07-18 16:58:13 +08:00
parent 065e8a4189
commit 4629310b97

View File

@@ -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