app.js 961 B

1234567891011121314151617181920212223242526272829303132333435
  1. "use strict";
  2. Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  3. const common_vendor = require("./common/vendor.js");
  4. const utils_request = require("./utils/request.js");
  5. if (!Math) {
  6. "./pages/index/index.js";
  7. "./pages/success/success.js";
  8. "./pages/interview-notice/interview-notice.js";
  9. "./pages/identity-verify/identity-verify.js";
  10. "./pages/face-photo/face-photo.js";
  11. "./pages/camera/camera.js";
  12. "./pages/my/my.js";
  13. "./pages/interview/interview.js";
  14. "./pages/ResumeEvaluation/ResumeEvaluation.js";
  15. }
  16. const _sfc_main = {
  17. onLaunch: function() {
  18. console.log("App Launch");
  19. },
  20. onShow: function() {
  21. console.log("App Show");
  22. },
  23. onHide: function() {
  24. console.log("App Hide");
  25. }
  26. };
  27. function createApp() {
  28. const app = common_vendor.createSSRApp(_sfc_main);
  29. app.config.globalProperties.$http = utils_request.http;
  30. return {
  31. app
  32. };
  33. }
  34. createApp().app.mount("#app");
  35. exports.createApp = createApp;