feat: 优化代码格式,提升可读性和一致性
This commit is contained in:
1 parent
68295e564e
commit
c6eb76845f
7 files changed
+82
-36
No files matched your search
@@ -2318,7 +2318,9 @@ class fudai_analyse:
|
||||
self.operation.delay(self.ENTER_LIVE_CLICK_DELAY)
|
||||
# 小延迟,避免界面卡顿导致第二次点击未生效
|
||||
try:
|
||||
self.operation.delay(getattr(self, "RETURN_STEP_DELAY_SECONDS", 0.8))
|
||||
self.operation.delay(
|
||||
getattr(self, "RETURN_STEP_DELAY_SECONDS", 0.8)
|
||||
)
|
||||
except Exception:
|
||||
self.operation.delay(0.8)
|
||||
self.operation.click(self.device_id, enter_live_x, enter_live_y)
|
||||
@@ -2332,7 +2334,9 @@ class fudai_analyse:
|
||||
# 进入后等待(保留原有最终等待)
|
||||
try:
|
||||
# 小延迟,确保界面就绪(可配置)
|
||||
self.operation.delay(getattr(self, "RETURN_STEP_DELAY_SECONDS", 0.8))
|
||||
self.operation.delay(
|
||||
getattr(self, "RETURN_STEP_DELAY_SECONDS", 0.8)
|
||||
)
|
||||
except Exception:
|
||||
self.operation.delay(0.8)
|
||||
self.operation.delay(self.ENTER_LIVE_FINAL_DELAY)
|
||||
|
||||
Reference in new issue
Block a user