美甲小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 years ago
123456789101112131415161718192021222324252627282930
  1. App({
  2. /**
  3. * 当小程序初始化完成时,会触发 onLaunch(全局只触发一次)
  4. */
  5. onLaunch: function () {
  6. },
  7. /**
  8. * 当小程序启动,或从后台进入前台显示,会触发 onShow
  9. */
  10. onShow: function (options) {
  11. },
  12. /**
  13. * 当小程序从前台进入后台,会触发 onHide
  14. */
  15. onHide: function () {
  16. },
  17. /**
  18. * 当小程序发生脚本错误,或者 api 调用失败时,会触发 onError 并带上错误信息
  19. */
  20. onError: function (msg) {
  21. }
  22. })