优化
This commit is contained in:
@@ -20,11 +20,19 @@ const _sfc_main = {
|
||||
}
|
||||
});
|
||||
this.customData = JSON.parse(options.customData);
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:189", "customData", this.customData);
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:190", "customData", this.customData);
|
||||
this.getPkyourInfo();
|
||||
this.getPkmineInfo();
|
||||
this.getPkIDInfo();
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === "menu") {
|
||||
return {
|
||||
title: "分享",
|
||||
path: `${getCurrentPages()[getCurrentPages().length - 1].route}?customData=${JSON.stringify(this.customData)}`
|
||||
};
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
//根据当前消息ID查询pk信息
|
||||
async getPkIDInfo() {
|
||||
@@ -47,9 +55,9 @@ const _sfc_main = {
|
||||
data: {
|
||||
id: this.customData.pkIdA
|
||||
},
|
||||
userInfo: true
|
||||
userInfo: false
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:218", res.data);
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:227", res.data);
|
||||
this.SenderData = res.data;
|
||||
});
|
||||
},
|
||||
@@ -61,9 +69,9 @@ const _sfc_main = {
|
||||
data: {
|
||||
id: this.customData.pkIdB
|
||||
},
|
||||
userInfo: true
|
||||
userInfo: false
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:232", res.data);
|
||||
common_vendor.index.__f__("log", "at pages/PKMessageprocessing/PKMessageprocessing.vue:241", res.data);
|
||||
this.ReceiverData = res.data;
|
||||
});
|
||||
},
|
||||
@@ -186,5 +194,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cadadfe7"]]);
|
||||
_sfc_main.__runtimeHooks = 2;
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/PKMessageprocessing/PKMessageprocessing.js.map
|
||||
|
||||
Reference in New Issue
Block a user