Commit eefdda6e by wangzhihui

fixed

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