diff --git a/monitor.py b/monitor.py index dac8c8d..488e71a 100644 --- a/monitor.py +++ b/monitor.py @@ -1062,11 +1062,8 @@ class MessageMonitor: if texts: return texts - # OCR 空 → 剪贴板兜底(窗口置前→滚底→全选→复制) + # OCR 空 → 剪贴板兜底(窗口置前→滚底→全选→复制,内部自带重试) texts = self._read_via_clipboard_once(platform) - if texts and len(texts) > 5: - return texts - texts = self._read_via_clipboard(platform) if texts and len(texts) > 5: return texts