This commit is contained in:
pengxiaolong
2025-05-14 16:09:14 +08:00
parent 5f8ff971d4
commit 838cfd9986
45 changed files with 437 additions and 270 deletions

View File

@@ -10,23 +10,20 @@ const _sfc_main = {
return {};
},
onLoad() {
this.requestSomething();
},
methods: {
requestSomething() {
common_vendor.wx$1.request({
url: "http://192.168.0.218:8086/user/login",
// 请求的 URL
method: "POST",
// 请求方式
success: (res) => {
common_vendor.index.__f__("log", "at pages/Home/Home.vue:37", "请求成功", res.data);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/Home/Home.vue:40", "请求失败", err);
}
});
}
// requestSomething() {
// wx.request({
// url: "http://192.168.0.218:8086/user/login", // 请求的 URL
// method: "POST", // 请求方式
// success: (res) => {
// uni.__f__('log','at pages/Home/Home.vue:37',"请求成功", res.data); // 处理成功的响应
// },
// fail: (err) => {
// uni.__f__('error','at pages/Home/Home.vue:40',"请求失败", err); // 处理失败的响应
// },
// });
// },
},
components: {
topNavigation,
@@ -49,7 +46,7 @@ if (!Math) {
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_assets._imports_0
a: common_assets._imports_0$1
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7ffebbf4"]]);