@ -1,7 +1,12 @@
<script>
export default {
onLaunch: function() {
uni.authorize({
scope: 'scope.userLocation',
success: function () {
console.log('用户同意了授权')
}
})
},
onShow: function() {},
onHide: function() {}