Commit f8936a08 by 陈超

T

parent 1acaf672
...@@ -193,10 +193,10 @@ ...@@ -193,10 +193,10 @@
let that = this let that = this
if(c.children.length == 0) { if(c.children.length == 0) {
that.getArea(c.id, r => { that.getArea(c.id, r => {
that.$nextTick(() => {
c.children = r.map(r => { return { text: r.title, id: r.area_id } }) c.children = r.map(r => { return { text: r.title, id: r.area_id } })
that.selected[2] = c.children[0].text that.selected[2] = c.children[0].text
that.columns = [].concat(that.columns) that.columns = [].concat(that.columns)
that.$nextTick(() => {
picker.setColumnValues(2, c.children) picker.setColumnValues(2, c.children)
}) })
}) })
......
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