|
|
@ -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 |
|
|
|