收藏
回答

生产环境 部分手机 执行wx.getLocation 报错,怎么解决?

MiniProgramError

t.fail is not a function. (In 't.fail({

          errCode: "0",

          errMsg: e.errMsg || ""

        })', 't.fail' is undefined)

TypeError: t.fail is not a function. (In 't.fail({

          errCode: "0",

          errMsg: e.errMsg || ""

        })', 't.fail' is undefined)

fail@https://usr//app-service.js:22696:15

https://lib/WASubContext.js:1:140763

i@https://lib/WASubContext.js:1:141036

https://lib/WAServiceMainContext.js:1:934499

p@https://lib/WAServiceMainContext.js:1:166806

Vc@https://lib/WAServiceMainContext.js:1:660474

https://lib/WAServiceMainContext.js:1:840445

p@https://lib/WAServiceMainContext.js:1:166806

nv@https://lib/WAServiceMainContext.js:1:772169

forEach@[native code]

emit@https://lib/WAServiceMainContext.js:1:772810

c@https://lib/WAServiceMainContext.js:1:841488

BS@https://lib/WAServiceMainContext.js:1:842835

https://lib/WAServiceMainContext.js:1:843451

https://lib/WAServiceMainContext.js:1:634748

https://lib/WAServiceMainContext.js:1:625380

emit@https://lib/WAServiceMainContext.js:1:119586

emit@[native code]

emit@https://lib/WAServiceMainContext.js:1:119205

subscribeHandler@https://lib/WAServiceMainContext.js:1:125589

global code

回答关注问题邀请回答
收藏
登录 后发表内容