1;去掉绑定失败提示

This commit is contained in:
wangshuai 2024-07-28 23:51:52 +08:00
parent 6bf1204632
commit a1c5a69e25
1 changed files with 1 additions and 7 deletions

View File

@ -76,8 +76,6 @@ document.addEventListener("mouseup", function(e) {
if (xhr.readyState === 4 && xhr.status === 200) { if (xhr.readyState === 4 && xhr.status === 200) {
if (xhr.responseText === 'true') { if (xhr.responseText === 'true') {
alert('当前授权完成,请直接关闭当前浏览器!') alert('当前授权完成,请直接关闭当前浏览器!')
}else{
alert(xhr.responseText)
} }
} }
} }
@ -95,8 +93,6 @@ document.addEventListener("mouseup", function(e) {
if (xhr.readyState === 4 && xhr.status === 200) { if (xhr.readyState === 4 && xhr.status === 200) {
if (xhr.responseText === 'true') { if (xhr.responseText === 'true') {
alert('当前授权完成,请直接关闭当前浏览器!') alert('当前授权完成,请直接关闭当前浏览器!')
}else{
alert(xhr.responseText)
} }
} }
} }
@ -124,8 +120,6 @@ document.addEventListener("mouseup", function(e) {
if (xhr.readyState === 4 && xhr.status === 200) { if (xhr.readyState === 4 && xhr.status === 200) {
if (xhr.responseText === 'true') { if (xhr.responseText === 'true') {
alert('当前授权完成,如当前是总账号模式请尽快切换至子门店帐号绑定,目前总账号模式会触发子门店掉线,非总帐号模式请直接关闭当前浏览器!') alert('当前授权完成,如当前是总账号模式请尽快切换至子门店帐号绑定,目前总账号模式会触发子门店掉线,非总帐号模式请直接关闭当前浏览器!')
}else{
alert(xhr.responseText)
} }
} }
} }