소스 검색

e.completeCount = 0,tab显示未填写表示

lifanagju_citu 7 달 전
부모
커밋
74d985c99b
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      src/views/recruit/enterprise/entInfoSetting/index.vue

+ 2 - 5
src/views/recruit/enterprise/entInfoSetting/index.vue

@@ -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