Xu Cai
Xu Cai
福州大学的,出现了这个错误
**描述问题bug** windows下当使用多显示屏且主屏不在最左侧时会出现鼠标坐标偏移的问题。 我的屏幕排列为  这时 `(devices.screen.monitor['left'],devices.screen.monitor['top'])` 实际上是负数,但是`win32api.GetCursorPos()`使用的坐标是相对所有屏幕左上角为0,这里发生了偏移。 **复现步骤** 1. 将主屏置于多屏显示器中的非最左侧位置 2. devices=connect_device("Windows:///?title_re=[title]") 3. touch((0,0)) 4. 此时实际touch的位置距离预期差距(devices.screen.monitor['left'],devices.screen.monitor['top']) **python 版本:** `python3.13` **airtest 版本:** `1.3.5` **设备:** - 型号: PC - 系统: windows 11