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

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

parent 89dd11d9
......@@ -121,26 +121,11 @@ ComponentWithStore({
this.setData({
showGetPanel: false,
});
// 定位权限未通过 先不做
// this.getPos()
},
closeAlGetPanel() {
this.setData({
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) {
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