|  | @@ -142,15 +142,16 @@ export default {
 | 
											
												
													
														|  |          return
 |  |          return
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |        // 没有setting就初始化人数
 |  |        // 没有setting就初始化人数
 | 
											
												
													
														|  | 
 |  | +      console.log('初始化')
 | 
											
												
													
														|  |        const remainder = roundGroup.number % roundGroup.classCount // 余数
 |  |        const remainder = roundGroup.number % roundGroup.classCount // 余数
 | 
											
												
													
														|  |        const divide = Math.floor(roundGroup.number / roundGroup.classCount) // 向下取整的除数
 |  |        const divide = Math.floor(roundGroup.number / roundGroup.classCount) // 向下取整的除数
 | 
											
												
													
														|  |        this.settingContainer = settingContainer.filter(item => item.groupId == roundGroup.groupId).map((item,index)  => {
 |  |        this.settingContainer = settingContainer.filter(item => item.groupId == roundGroup.groupId).map((item,index)  => {
 | 
											
												
													
														|  |          if (index + 1 <= remainder) {
 |  |          if (index + 1 <= remainder) {
 | 
											
												
													
														|  |            // 余数平分给前面
 |  |            // 余数平分给前面
 | 
											
												
													
														|  | -          item.expectedCount = divide + 1
 |  | 
 | 
											
												
													
														|  | 
 |  | +          item.actualCount = divide + 1
 | 
											
												
													
														|  |          }else {
 |  |          }else {
 | 
											
												
													
														|  |            // 余数分完
 |  |            // 余数分完
 | 
											
												
													
														|  | -          item.expectedCount = divide
 |  | 
 | 
											
												
													
														|  | 
 |  | +          item.actualCount = divide
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          return item
 |  |          return item
 | 
											
												
													
														|  |          console.log(item)
 |  |          console.log(item)
 |