Skip to content

Commit ee23d65

Browse files
committed
fix: 在打开任务菜单时增加短暂延迟以确保稳定性
1 parent 084bc05 commit ee23d65

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tasks/CommissionsTask.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def open_in_mission_menu(self, time_out=20, raise_if_not_found=True):
9090
else:
9191
if raise_if_not_found:
9292
raise Exception("未找到任务菜单")
93+
self.sleep(0.2)
9394
return found
9495

9596
def start_mission(self, timeout=10):

0 commit comments

Comments
 (0)