mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	修复运行日志菜单未读数字可能不会消失的问题
This commit is contained in:
		@@ -46,9 +46,8 @@ func init() {
 | 
			
		||||
				if err != nil {
 | 
			
		||||
					logs.Error(err)
 | 
			
		||||
				} else {
 | 
			
		||||
					var countNodeLogs = countNodeLogsResp.Count
 | 
			
		||||
					if countNodeLogs > 0 {
 | 
			
		||||
						countUnreadNodeLogs = countNodeLogs
 | 
			
		||||
					countUnreadNodeLogs = countNodeLogsResp.Count
 | 
			
		||||
					if countUnreadNodeLogs > 0 {
 | 
			
		||||
						if countUnreadNodeLogs >= 100 {
 | 
			
		||||
							countUnreadNodeLogs = 99
 | 
			
		||||
						}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user