消息
This commit is contained in:
29
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
29
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
@@ -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"]]);
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello"
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-d4fc3199"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/Message/Message.js.map
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "消息",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
|
||||
/* 样式定义 */
|
||||
@@ -7,12 +7,9 @@ const _sfc_main = {
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.openConversationList();
|
||||
},
|
||||
methods: {
|
||||
openConversationList() {
|
||||
common_vendor.index.navigateTo({ url: "/TUIKit/components/TUIConversation/index" });
|
||||
}
|
||||
// 方法定义
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarTitleText": "聊天",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
|
||||
/* 样式定义 */
|
||||
/* 样式定义 */
|
||||
|
||||
Reference in New Issue
Block a user