diff --git a/resource/tasks.json b/resource/tasks.json index da079a2ec4..16e0c28984 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -2180,7 +2180,7 @@ "Logout": { "action": "ClickSelf", "roi": [660, 460, 140, 50], - "next": ["LogoutConfirm"] + "next": ["LogoutConfirm", "LogoutConfirmOCR", "Logout"] }, "LogoutOCR": { "baseTask": "Logout", @@ -2194,6 +2194,14 @@ "next": ["AccountManager", "AccountManager@LoadingText"], "postDelay": 3000 }, + "LogoutConfirmOCR": { + "algorithm": "OcrDetect", + "action": "ClickSelf", + "text": ["是"], + "roi": [650, 450, 280, 60], + "next": ["AccountManager", "AccountManager@LoadingText"], + "postDelay": 3000 + }, "ExitOld": { "action": "ClickSelf", "roi": [770, 350, 190, 60],