| | |
| | | removeCookie('rediskey') |
| | | removeCookie('guid') |
| | | removeCookie('code') |
| | | setTimeout(() => { |
| | | sessionStorage.removeItem('tabViews') |
| | | window.location.reload() |
| | | }, 1000 * 2) |
| | | |
| | | if (getCookie('cloud')) { |
| | | removeCookie('cloud') |
| | | setTimeout(() => { |
| | | sessionStorage.removeItem('tabViews') |
| | | window.location.href = 'http://182.61.13.206/choose' |
| | | }, 1000 * 2) |
| | | } else { |
| | | setTimeout(() => { |
| | | sessionStorage.removeItem('tabViews') |
| | | window.location.reload() |
| | | }, 1000 * 2) |
| | | } |
| | | } |
| | | // 50008: Illegal token; 50012: Other clients logged in; 50014: Token expired; |
| | | // if (res.code === 50008 || res.code === 50012 || res.code === 50014) { |