|
@@ -10,7 +10,7 @@
|
|
|
<button size="mini" @click="toCommon('pages/my/index')">我的1</button>
|
|
|
</view>
|
|
|
<view class="two">
|
|
|
-
|
|
|
+ <button @click="toChange">地址选择</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -53,6 +53,16 @@
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ // toChange() {
|
|
|
+ // uni.chooseLocation({
|
|
|
+ // success: function(res) {
|
|
|
+ // console.log(res);
|
|
|
+ // },
|
|
|
+ // fail: function(err) {
|
|
|
+ // console.log(err);
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
</script>
|