index.js 1004 B

12345678910111213141516171819202122232425262728
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  4. __name: "index",
  5. setup(__props) {
  6. var _a;
  7. (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
  8. const config = common_vendor.ref({ logoUrl: "" });
  9. const id = common_vendor.ref("");
  10. common_vendor.onLoad(async (options) => {
  11. id.value = options && options.id;
  12. await searchConfig();
  13. await search();
  14. });
  15. const searchConfig = async () => {
  16. config.value = common_vendor.index.getStorageSync("config");
  17. };
  18. const search = async () => {
  19. if (id.value)
  20. ;
  21. };
  22. return (_ctx, _cache) => {
  23. return {};
  24. };
  25. }
  26. });
  27. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-fe92273c"], ["__file", "D:/project/足球比赛/match_applet/pagesHome/create/index.vue"]]);
  28. wx.createPage(MiniProgramPage);