wept icon indicating copy to clipboard operation
wept copied to clipboard

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

Open idanke opened this issue 8 years ago • 3 comments

  • wept --version: 0.9.1 140900
  • node --version: v8.2.1
  • 操作系统: macOS Sierra 10.12.5
  • 浏览器及浏览器版本: Chrome 59.0.3071.115
  • 官方api wx.showLoading 和 wx.hideLoading 报错!

错误日志

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

界面截图(可选)

idanke avatar Jul 26 '17 06:07 idanke

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

chemzqm avatar Jul 26 '17 06:07 chemzqm

期待更新...

idanke avatar Aug 03 '17 03:08 idanke

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

cuijiemmx avatar Mar 16 '18 17:03 cuijiemmx