- 怎么申请wx.getLocation接口?
申请wx.getLocation接口,总是提示 接口的开放范围审核不通过。我的类目是:工具/信息查询 。我看接口文档中这个类目是可以的啊。程序地图中有一个当前位置的按钮,点一下就调用这个接口,把地图的中西点拉回到这个点。就这么一次调用。截图和视频也都提交了。就是不通过。申请十几次了。有人帮忙解答一下吗?
07-04 - 扫码打开总是绕过home直接跳转到tabbar的第一个页面,为什么?
我在app.json中配置的启动页面是home。但是第一次扫码打开的时候会直接跳转到tabbar的第一个页面。再一次扫码没问题。但是如果删除小程序,重新扫码打开依然是跳过home页面直接打开tabbar的第一个页面。这个问题在开发环境中又没有办法调试。配置文件app.json如下。 { "pages": [ "pages/home/home", "pages/query/index/index", "pages/query/exam/exam", "pages/query/course/course" "pages/register/register" ], "tabBar": { "list": [ { "pagePath": "pages/query/index/index", "text": "首页", "iconPath": "images/icon-home.png", "selectedIconPath": "images/icon-home-active.png" }, { "pagePath": "pages/history/history", "text": "查询历史", "iconPath": "images/icon-history.png", "selectedIconPath": "images/icon-history-active.png" }, { "pagePath": "pages/person/index/index", "text": "个人中心", "iconPath": "images/icon-person.png", "selectedIconPath": "images/icon-person-active.png" } ], "backgroundColor": "#00a0e9", "color": "#fff", "selectedColor": "#f4ea2a", "borderStyle": "black" }, "sitemapLocation": "sitemap.json", "debug": true }
2020-02-22