index.js 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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. common_vendor.inject("$api");
  7. common_vendor.inject("$config");
  8. const config = common_vendor.ref({ logo: [], file: [] });
  9. common_vendor.ref([]);
  10. common_vendor.ref(0);
  11. common_vendor.computed(() => {
  12. return common_vendor.index.getStorageSync("user");
  13. });
  14. common_vendor.onShow(async () => {
  15. await searchConfig();
  16. await searchOther();
  17. await search();
  18. });
  19. const searchConfig = async () => {
  20. config.value = common_vendor.index.getStorageSync("config");
  21. };
  22. const searchOther = async () => {
  23. };
  24. const search = async () => {
  25. };
  26. return (_ctx, _cache) => {
  27. return {};
  28. };
  29. }
  30. });
  31. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-b6eefe39"], ["__file", "D:/project/学吧/learn_applet/pagesMy/follow/index.vue"]]);
  32. wx.createPage(MiniProgramPage);