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') {