1;绑定问题
This commit is contained in:
parent
bf211b9b6a
commit
c3829af581
|
@ -96,6 +96,8 @@ document.addEventListener("mouseup", function(e) {
|
||||||
xhr.onreadystatechange = function () {
|
xhr.onreadystatechange = function () {
|
||||||
if (xhr.readyState === 4 && xhr.status === 200) {
|
if (xhr.readyState === 4 && xhr.status === 200) {
|
||||||
if (xhr.responseText === 'true') {
|
if (xhr.responseText === 'true') {
|
||||||
|
localStorage.setItem('sysType', null)
|
||||||
|
localStorage.setItem('sysName', null)
|
||||||
alert('当前授权完成,请直接关闭当前浏览器!')
|
alert('当前授权完成,请直接关闭当前浏览器!')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -104,8 +106,6 @@ document.addEventListener("mouseup", function(e) {
|
||||||
localStorage.setItem('account', null)
|
localStorage.setItem('account', null)
|
||||||
localStorage.setItem('phone', null)
|
localStorage.setItem('phone', null)
|
||||||
localStorage.setItem('password', null)
|
localStorage.setItem('password', null)
|
||||||
localStorage.setItem('sysName', null)
|
|
||||||
localStorage.setItem('sysType', null)
|
|
||||||
localStorage.setItem('wmPoiName', null)
|
localStorage.setItem('wmPoiName', null)
|
||||||
}
|
}
|
||||||
if (location.host === 'shangoue.meituan.com') {
|
if (location.host === 'shangoue.meituan.com') {
|
||||||
|
|
Loading…
Reference in New Issue