Commit 22ccdb58 authored by 俞嘉婷's avatar 俞嘉婷

feat: 去掉定位方法 影响发布

parent 89dd11d9
...@@ -121,26 +121,11 @@ ComponentWithStore({ ...@@ -121,26 +121,11 @@ ComponentWithStore({
this.setData({ this.setData({
showGetPanel: false, showGetPanel: false,
}); });
// 定位权限未通过 先不做
// this.getPos()
}, },
closeAlGetPanel() { closeAlGetPanel() {
this.setData({ this.setData({
showAlGetPanel: false, showAlGetPanel: false,
}); });
// 定位权限未通过 先不做
// this.getPos()
},
getPos() {
wx.getLocation({
type: 'wgs84',
success(res) {
const latitude = res.latitude
const longitude = res.longitude
const speed = res.speed
const accuracy = res.accuracy
}
})
}, },
async onChooseAvatar(e: any) { async onChooseAvatar(e: any) {
const {avatarUrl} = e.detail const {avatarUrl} = e.detail
......
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