From c3829af5811ed62d9b7016cdaaf8cd6b5e6c8709 Mon Sep 17 00:00:00 2001 From: wangshuai Date: Mon, 19 Aug 2024 17:41:37 +0800 Subject: [PATCH] =?UTF-8?q?1=EF=BC=9B=E7=BB=91=E5=AE=9A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- expand/ert/content.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expand/ert/content.js b/expand/ert/content.js index 8336679..49fa7ee 100644 --- a/expand/ert/content.js +++ b/expand/ert/content.js @@ -96,6 +96,8 @@ document.addEventListener("mouseup", function(e) { xhr.onreadystatechange = function () { if (xhr.readyState === 4 && xhr.status === 200) { if (xhr.responseText === 'true') { + localStorage.setItem('sysType', null) + localStorage.setItem('sysName', null) alert('当前授权完成,请直接关闭当前浏览器!') } } @@ -104,8 +106,6 @@ document.addEventListener("mouseup", function(e) { localStorage.setItem('account', null) localStorage.setItem('phone', null) localStorage.setItem('password', null) - localStorage.setItem('sysName', null) - localStorage.setItem('sysType', null) localStorage.setItem('wmPoiName', null) } if (location.host === 'shangoue.meituan.com') {