wetools / wept

微信小程序多端实时运行工具
2.96k stars 433 forks source link

官方api wx.showLoading 和 wx.hideLoading 报错! #106

Open idanke opened 7 years ago

idanke commented 7 years ago

错误日志

thirdScriptError wx.showLoading is not a function;at "pages/index/index" page lifeCycleMethod onLoad function TypeError: wx.showLoading is not a function at e.onLoad (http://localhost:3000/pages/index/index.js:16:8) at e. (http://localhost:3000/script/service.js?v=0.9.1:3769:23) at w (http://localhost:3000/script/service.js?v=0.9.1:3440:25) at T (http://localhost:3000/script/service.js?v=0.9.1:3478:155) at Function. (http://localhost:3000/script/service.js?v=0.9.1:3509:7) at http://localhost:3000/script/service.js?v=0.9.1:3656:22 at http://localhost:3000/script/service.js?v=0.9.1:1266:9 at Array.forEach () at Function. (http://localhost:3000/script/service.js?v=0.9.1:1265:207) at http://localhost:3000/script/service.js?v=0.9.1:1599:20

界面截图(可选)

chemzqm commented 7 years ago

属于后加的 API , wept 还没有实现 🤕

idanke commented 7 years ago

期待更新...

cuijiemmx commented 6 years ago

@chemzqm 可不可以先不报错,console打印一个警告,这样至少可以不中断程序流程