Commit eefdda6e by wangzhihui

fixed

1 parent 82ee3cd7
......@@ -224,6 +224,10 @@ export default {
}
this.isHide = false
} else {
this.learningInfo = {
...val,
courseRecords: []
}
this.isHide = true
}
},
......
......@@ -315,7 +315,8 @@ export default {
label: "课程时长",
prop: "courseTotalDuration",
formatter: (cellValue) => {
return cellValue.courseTotalDuration
return cellValue.courseTotalDuration ||
cellValue.courseTotalDuration === 0
? +cellValue.courseTotalDuration + "min"
: "-"
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!