mirror of
				https://gitee.com/BDWare/router-frontend
				synced 2025-11-03 22:32:17 +00:00 
			
		
		
		
	fix: fix bugs in nodeslistman.js
change variable i from const to let
This commit is contained in:
		
							parent
							
								
									6e8963ae0a
								
							
						
					
					
						commit
						2fb58a9c27
					
				@ -34,7 +34,7 @@ var listTrustUnits = function (event) {
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function queryNodeByName(name) {
 | 
					function queryNodeByName(name) {
 | 
				
			||||||
    for (const i = 0; i < global.nodeInfo.online.length; i++) {
 | 
					    for (let i = 0; i < global.nodeInfo.online.length; i++) {
 | 
				
			||||||
        const node = global.nodeInfo.online[i];
 | 
					        const node = global.nodeInfo.online[i];
 | 
				
			||||||
        if (node.nodeName === name)
 | 
					        if (node.nodeName === name)
 | 
				
			||||||
            return node;
 | 
					            return node;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user