Commit 3ef3573e by 穆启卓

1

parent 9f710a97
......@@ -263,7 +263,7 @@ Page({
success:(res) => {
this.data.isFirstReq = false;
const resData = res.data.data;
// 数据处理,结合两个数组判断是否显示打卡角标和状态
// 数据处理,结合!!两个数组!!判断是否显示打卡角标和状态
const joinDate = [];
resData.records_info.forEach(item => {
joinDate.push(item.period);
......@@ -279,7 +279,7 @@ Page({
item.status = 0; // 未参与打卡
}
});
wx.setStorageSync('getStepLoading', Date.now());
// wx.setStorageSync('getStepLoading', Date.now());
// 避免没有目标步数,不好比较是否达标
const setData = {
targetSteps: resData.total_step,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment