更新 apis/device.go
fix bug
This commit is contained in:
		
							parent
							
								
									f56c239f33
								
							
						
					
					
						commit
						8e591a49d1
					
				| @ -276,7 +276,7 @@ func formatXML(data []byte) ([]byte, error) { | ||||
| 
 | ||||
| func (d *Device) DumpHierarchy(compressed bool, pretty bool) (string, error) { | ||||
| 	// 965 content = self.jsonrpc.dumpWindowHierarchy(compressed, None)
 | ||||
| 	result, err := d.requestJsonRpc("dumpWindowHierarchy", compressed, nil) | ||||
| 	result, err := d.requestJsonRpc("dumpWindowHierarchy", compressed) | ||||
| 	if err != nil { | ||||
| 		return "", err | ||||
| 	} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user