Commit fd0bf686 by 陈超

T

parent 51edd4de
......@@ -209,7 +209,7 @@
let found = that.columns.filter(r => { return r.id == id })
if(found.length > 0) {
let province = found[0]
province.children = res.data.map( r => return { text: r.title, id: r.area_id, children: [] })
province.children = res.data.map( r => { return { text: r.title, id: r.area_id, children: [] } })
if(province.children.length > 0) {
that.getArea(province, province.children[0].id)
}
......@@ -230,7 +230,7 @@
let found = p.children.filter( r => { return r.id == id })
if(found.length > 0) {
let city = found[0]
city.children = res.data.map( r => return { text: r.title, id: r.area_id })
city.children = res.data.map( r => { return { text: r.title, id: r.area_id } })
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment