authorize scope. userlocation needs to declare the permission field in app.json

Solution:

Add the premission attribute in app.json

"permission": {
  "scope.userLocation": {
    "desc": "位置信息效果展示"
  }
}

Guess you like

Origin blog.csdn.net/tang242424/article/details/104502460