1
1
mirror of https://github.com/KenanZhu/AutoLibrary.git synced 2026-06-21 00:43:03 +08:00

fix(operators): the operations's result message only show in their output queue

This commit is contained in:
2025-11-28 14:58:13 +08:00
parent 703ee527ae
commit 0322558339
3 changed files with 11 additions and 6 deletions
+6 -1
View File
@@ -104,4 +104,9 @@ class LibCheckin(LibOperator):
self._showTrace("签到按钮不可用, 可能不在场馆内, 请连接图书馆网络后重试")
return False
checkin_btn.click()
return self._waitResponseLoad()
if self._waitResponseLoad():
self._showTrace(f"用户 {username} 签到成功 !")
return True
else:
self._showTrace(f"用户 {username} 签到失败 !")
return False