fix undefined callback
This commit is contained in:
		
							parent
							
								
									8d5eaaf8a7
								
							
						
					
					
						commit
						3394e1f148
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -293,6 +293,9 @@ export default { | |||
|         }, | ||||
| 
 | ||||
|         getMonitorList(callback) { | ||||
|             if (! callback) { | ||||
|                 callback = () => { }; | ||||
|             } | ||||
|             socket.emit("getMonitorList", callback); | ||||
|         }, | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue