"use strict"; const common_vendor = require("../../common/vendor.js"); const api_home = require("../../api/home.js"); const _sfc_main = { data() { return { list: [] }; }, methods: { getList() { api_home.getMsgList().then((res) => { common_vendor.index.__f__("log", "at pages/home/home.vue:39", res, "res "); }); }, getMain() { common_vendor.index.setStorageSync("storage_key1", "hello1"); common_vendor.index.setStorage({ key: "storage_key2", data: "hello2" }); }, showMain() { common_vendor.index.__f__("log", "at pages/home/home.vue:57", common_vendor.index.getStorageSync("storage_key1"), "异步"); common_vendor.index.__f__("log", "at pages/home/home.vue:58", common_vendor.index.getStorage({ key: "storage_key2", success: function(res) { common_vendor.index.__f__("log", "at pages/home/home.vue:61", res.data); } }), "同步"); }, upImage() { common_vendor.index.chooseImage({ count: 6, success: function(res) { common_vendor.index.__f__("log", "at pages/home/home.vue:70", res); this.list = res.tempFilePaths; common_vendor.index.__f__("log", "at pages/home/home.vue:72", this.list, "aaa"); } }); } } }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return { a: common_vendor.o((...args) => $options.getList && $options.getList(...args)), b: common_vendor.o((...args) => $options.getMain && $options.getMain(...args)), c: common_vendor.o((...args) => $options.showMain && $options.showMain(...args)), d: common_vendor.o((...args) => $options.upImage && $options.upImage(...args)), e: common_vendor.f($data.list, (item, k0, i0) => { return { a: common_vendor.t(item) }; }) }; } const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-07e72d3c"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/home.js.map