Bläddra i källkod

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

lifanagju_citu 7 månader sedan
förälder
incheckning
74d985c99b
1 ändrade filer med 2 tillägg och 5 borttagningar
  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