|
@@ -47,7 +47,7 @@ export default defineComponent({
|
|
|
/** 建议学习总时长 */
|
|
|
const total = computed(() => {
|
|
|
const _total = props.list.reduce(
|
|
|
- (_total: number, item: any) => _total + item.adviseStudyTimeSecond,
|
|
|
+ (_total: number, item: any) => _total + (item.totalMaterialTimeSecond || 0),
|
|
|
0
|
|
|
)
|
|
|
return _total
|