caolc 3 years ago
parent b64916bb3d
commit 88f47d0873
  1. 13
      pages/index/index.vue

@ -129,8 +129,21 @@
this.longiCheck() this.longiCheck()
// //console.log('++++++++') // //console.log('++++++++')
//console.log('menus',this.menusList) //console.log('menus',this.menusList)
this.getPosition()
}, },
methods: { methods: {
getPosition(){
let that = this
uni.getLocation({
type: 'gcj02',
success: function(res) {
uni.setStorage({
key:'location',
data:res
})
}
});
},
changMenus(data){ changMenus(data){
//console.log('+++++',data) //console.log('+++++',data)
this.menusList =data this.menusList =data

Loading…
Cancel
Save