Commit 956e5cbd authored by 王陶政's avatar 王陶政

Merge branch 'b-fix-20210113' into 'master'

fix

See merge request !5
parents e1463d62 8dac6645
......@@ -237,7 +237,7 @@ Page({
data
} = res;
data.list.forEach(element => {
element.statusType = element.leave && element.leave.status == 3 ? 3 : 1;
element.statusType = element.leave && element.leave.status == 3 ? 3 : 0;
element.punishCount = element.leave && element.leave.status == 3 && this.data.schedulesDetail.course.rule_leave == 1 ? 1 : 0
});
if (code == 200) {
......
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