Commit da2ae541 by 陈超

T

parent 5face4d3
...@@ -151,7 +151,6 @@ ...@@ -151,7 +151,6 @@
}, },
created:function(){ created:function(){
document.title = "我的地址" document.title = "我的地址"
console.log(this.areaCode)
}, },
computed: { computed: {
areaStyle: function() { areaStyle: function() {
...@@ -168,6 +167,8 @@ ...@@ -168,6 +167,8 @@
let that = this let that = this
that.showPicker = false that.showPicker = false
that.area = values.reduce( (v, e) => { return v.length == 0 ? e.name : (v + " " + e.name) }, "") that.area = values.reduce( (v, e) => { return v.length == 0 ? e.name : (v + " " + e.name) }, "")
console.log(values)
//that.areaCode = values[values.length - 1].
}, },
saveAddress: function() { saveAddress: function() {
......
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