Commit 19dfa154 by 陈超

T

parent 465009ed
......@@ -174,6 +174,8 @@
methods: {
//当选择省变化
onProvinceChange: function(picker, p) {
console.log("当选择省变化")
console.log(p)
let that = this
if(p.children.length == 0) {
that.getCity(p.id, r => {
......@@ -190,6 +192,8 @@
},
//当选择市变化
onCityChange: function(picker, c) {
console.log("当选择市变化")
console.log(c)
let that = this
if(c.children.length == 0) {
that.getArea(c.id, 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