|
@@ -88,11 +88,8 @@ const calcCompletion = () => {
|
|
|
if (!e.totalCount) return
|
|
|
//
|
|
|
total = total + e.totalCount
|
|
|
- //
|
|
|
- if (e.completeCount) {
|
|
|
- complete = complete + e.completeCount
|
|
|
- e.status = e.completeCount === e.totalCount
|
|
|
- }
|
|
|
+ complete = complete + (e.completeCount || 0)
|
|
|
+ e.status = e.completeCount === e.totalCount
|
|
|
})
|
|
|
completeCount.value = complete
|
|
|
totalCount.value = total
|