优化
This commit is contained in:
23
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
23
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -14,6 +14,14 @@ const _sfc_main = {
|
||||
AnchorList: []
|
||||
};
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === "menu") {
|
||||
return {
|
||||
title: "分享",
|
||||
path: "/pages/Home/Home"
|
||||
};
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
@@ -34,7 +42,7 @@ const _sfc_main = {
|
||||
this.getSignStatus();
|
||||
this.getAnchorList();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:268", res2.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:276", res2.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -55,7 +63,7 @@ const _sfc_main = {
|
||||
this.userinfo = res.data;
|
||||
common_vendor.index.setStorageSync("userinfo", res.data);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:289", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:297", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -72,7 +80,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.AnchorList = res.data.slice(0, 4);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:306", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:314", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -89,7 +97,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.SignStatus = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:323", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:331", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -112,7 +120,7 @@ const _sfc_main = {
|
||||
this.getSignStatus();
|
||||
this.getUserInfo();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:346", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:354", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -133,7 +141,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:367", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:375", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -153,7 +161,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:387", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:395", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -318,5 +326,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-402ad917"]]);
|
||||
_sfc_main.__runtimeHooks = 2;
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/Mine/Mine.js.map
|
||||
|
||||
Reference in New Issue
Block a user