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

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

Loading…
Cancel
Save