mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	实现缓存策略若干功能
This commit is contained in:
		@@ -1,8 +1,10 @@
 | 
			
		||||
Tea.context(function () {
 | 
			
		||||
	if (this.clusters.length > 0) {
 | 
			
		||||
		this.clusterId = this.clusters[0].id
 | 
			
		||||
	} else {
 | 
			
		||||
		this.clusterId = 0
 | 
			
		||||
	if (this.clusterId == null) {
 | 
			
		||||
		if (this.clusters.length > 0) {
 | 
			
		||||
			this.clusterId = this.clusters[0].id
 | 
			
		||||
		} else {
 | 
			
		||||
			this.clusterId = 0
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	this.isRequestingWrite = false
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user