微信小程序--getLocation需要在app.json中声明permission字段

NoSuchKey