Commit 9ee26c42 by 陈超

T

parent 26d7ca07
...@@ -155,9 +155,13 @@ ...@@ -155,9 +155,13 @@
} }
}, },
created:function(){ created:function(){
let that = this
$("#provinceData").children().each((i, e) => { $("#provinceData").children().each((i, e) => {
console.log(e.name) that.columns.push({
console.log(e.value) text: e.value,
id: e.name,
children: []
})
}) })
}, },
computed: { computed: {
...@@ -169,12 +173,6 @@ ...@@ -169,12 +173,6 @@
onArea: function() { onArea: function() {
let that = this let that = this
that.showPicker = true that.showPicker = true
if(that.columns.length == 0) {
that.loading = true
that.getCity()
} else {
}
}, },
onAreaConfirm: function(r) { onAreaConfirm: function(r) {
......
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