12345678910111213141516171819202122232425262728 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- const _sfc_main = {
- methods: {
- getList() {
- common_vendor.index.request({
- url: "https://m.douban.com/rexxar/api/v2/subject_collection/tv_domestic/items?start=0&count=8",
- //仅为示例,并非真实接口地址。
- header: {
- "custom-header": "hello"
- //自定义请求头信息
- },
- method: "GET",
- success: (res) => {
- common_vendor.index.__f__("log", "at pages/home/home.vue:29", res.data);
- }
- });
- }
- }
- };
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
- return {
- a: common_vendor.o((...args) => $options.getList && $options.getList(...args))
- };
- }
- 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
|