优化
This commit is contained in:
@@ -24,7 +24,7 @@ const _sfc_main = {
|
||||
this.getPkIDInfo();
|
||||
this.getPkyourInfo();
|
||||
this.getPkmineInfo();
|
||||
}, 500);
|
||||
}, 1e3);
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === "menu") {
|
||||
@@ -45,7 +45,7 @@ const _sfc_main = {
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:214", res.data);
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:227", res.data);
|
||||
this.PkIDInfodata = res.data;
|
||||
});
|
||||
},
|
||||
@@ -55,12 +55,23 @@ const _sfc_main = {
|
||||
url: "pk/pkInfoDetail",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.customData.pkIdA
|
||||
id: this.customData.pkIdA,
|
||||
userId: this.id,
|
||||
from: 2
|
||||
},
|
||||
userInfo: false
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:228", res.data);
|
||||
this.SenderData = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:243", res);
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:245", res.data);
|
||||
this.SenderData = res.data;
|
||||
} else {
|
||||
common_vendor.wx$1.showToast({
|
||||
title: "获取发布者信息失败",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//被邀请者
|
||||
@@ -69,12 +80,22 @@ const _sfc_main = {
|
||||
url: "pk/pkInfoDetail",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.customData.pkIdB
|
||||
id: this.customData.pkIdB,
|
||||
userId: this.id,
|
||||
from: 2
|
||||
},
|
||||
userInfo: false
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:242", res.data);
|
||||
this.ReceiverData = res.data;
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:269", res.data);
|
||||
this.ReceiverData = res.data;
|
||||
} else {
|
||||
common_vendor.wx$1.showToast({
|
||||
title: "获取被邀请者信息失败",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//返回上一页
|
||||
|
||||
Reference in New Issue
Block a user