mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 21:50:28 +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("保存成功")
							 | 
						||
| 
								 | 
							
											}
							 | 
						||
| 
								 | 
							
										})
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								})
							 |