mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			321 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			321 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
Tea.context(function () {
 | 
						|
	this.updateNodeRegion = function (node) {
 | 
						|
		let nodeId = node.id
 | 
						|
		let regionId = (node.region ? node.region.id : 0)
 | 
						|
 | 
						|
		teaweb.popup(Tea.url(".updateNodeRegionPopup", { nodeId: nodeId, regionId: regionId }), {
 | 
						|
			callback: function () {
 | 
						|
				teaweb.successRefresh("保存成功")
 | 
						|
			}
 | 
						|
		})
 | 
						|
	}
 | 
						|
}) |