mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-10-31 19:26:02 +08:00 
			
		
		
		
	fix: 解决 ssh 登录日志分页错误 (#1901)
This commit is contained in:
		
							parent
							
								
									b1f817f09b
								
							
						
					
					
						commit
						1ff39d7b85
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -276,8 +276,8 @@ func (u *SSHService) LoadLog(req dto.SearchSSHLog) (*dto.SSHLog, error) { | |||
| 		dataItem, successCount, failedCount := loadSSHData(commandItem, showCountFrom, showCountTo, file.Year, qqWry, nyc) | ||||
| 		data.FailedCount += failedCount | ||||
| 		data.TotalCount += successCount + failedCount | ||||
| 		showCountFrom = showCountFrom - data.TotalCount | ||||
| 		showCountTo = showCountTo - data.TotalCount | ||||
| 		showCountFrom = showCountFrom - (successCount + failedCount) | ||||
| 		showCountTo = showCountTo - (successCount + failedCount) | ||||
| 		data.Logs = append(data.Logs, dataItem...) | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue