mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	集群非上海时区的在列表里显示时区
This commit is contained in:
		@@ -121,6 +121,10 @@ func (this *IndexAction) RunGet(params struct {
 | 
			
		||||
				this.ErrorPage(err)
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if cluster.TimeZone == nodeconfigs.DefaultTimeZoneLocation {
 | 
			
		||||
				cluster.TimeZone = ""
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			clusterMaps = append(clusterMaps, maps.Map{
 | 
			
		||||
				"id":                cluster.Id,
 | 
			
		||||
				"name":              cluster.Name,
 | 
			
		||||
@@ -132,6 +136,7 @@ func (this *IndexAction) RunGet(params struct {
 | 
			
		||||
				"dnsName":           cluster.DnsName,
 | 
			
		||||
				"dnsDomainName":     dnsDomainName,
 | 
			
		||||
				"countServers":      countServersResp.Count,
 | 
			
		||||
				"timeZone":          cluster.TimeZone,
 | 
			
		||||
			})
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user