app.js 948 B

12345678910111213141516171819202122232425262728293031323334
  1. "use strict";
  2. Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  3. const common_vendor = require("./common/vendor.js");
  4. if (!Math) {
  5. "./pages/home/home.js";
  6. "./pages/list/list.js";
  7. }
  8. const _sfc_main = {
  9. // 页面初始化完成时触发
  10. onLaunch: function() {
  11. common_vendor.index.__f__("log", "at App.vue:5", "App Launch");
  12. },
  13. // 启动或者从后台进入时触发
  14. onShow: function() {
  15. common_vendor.index.__f__("log", "at App.vue:9", "App Show");
  16. },
  17. // 从前台离开时触发
  18. onHide: function() {
  19. common_vendor.index.__f__("log", "at App.vue:13", "App Hide");
  20. },
  21. // 报错时触发
  22. onError() {
  23. common_vendor.index.__f__("log", "at App.vue:17", "error");
  24. }
  25. };
  26. function createApp() {
  27. const app = common_vendor.createSSRApp(_sfc_main);
  28. return {
  29. app
  30. };
  31. }
  32. createApp().app.mount("#app");
  33. exports.createApp = createApp;
  34. //# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map