优化页面
This commit is contained in:
17
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
17
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -18,7 +18,6 @@ const _sfc_main = {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:238", res.data);
|
||||
components_request.request({
|
||||
url: "user/getUserInfo",
|
||||
method: "POST",
|
||||
@@ -35,7 +34,7 @@ const _sfc_main = {
|
||||
this.getSignStatus();
|
||||
this.getAnchorList();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:255", res2.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:254", res2.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -56,7 +55,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:276", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:275", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -73,13 +72,12 @@ 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:293", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:292", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取签到状态
|
||||
getSignStatus() {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:299", "getSignStatus", this.userinfo.id);
|
||||
components_request.request({
|
||||
url: "user/checkSignStatus",
|
||||
method: "GET",
|
||||
@@ -91,7 +89,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.SignStatus = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:312", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:310", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -114,7 +112,7 @@ const _sfc_main = {
|
||||
this.getSignStatus();
|
||||
this.getUserInfo();
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:335", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:333", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -134,9 +132,8 @@ const _sfc_main = {
|
||||
}).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.pkInformationdata = res.data;
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:355", this.pkInformationdata);
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:357", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:354", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -156,7 +153,7 @@ const _sfc_main = {
|
||||
if (res.code == 200) {
|
||||
this.myPkRecorddata = res.data;
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:377", res.msg);
|
||||
common_vendor.index.__f__("log", "at pages/Mine/Mine.vue:374", res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user