Commit 8dac6645 authored by baixian's avatar baixian

fix

parent e1463d62
......@@ -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