fix: bug修复、地图色阶初版

This commit is contained in:
chenjinsong
2021-08-13 18:57:49 +08:00
parent c1bcc9394d
commit aa2d485f48
8 changed files with 51 additions and 46 deletions

View File

@@ -41,8 +41,8 @@ axios.interceptors.request.use(
axios.interceptors.response.use(
response => {
if (licenceErrorCode.indexOf(response.data.code) !== -1) {
window.location.href = '/'
sessionStorage.removeItem(storageKey.token)
window.location.href = '/'
} else if (response.status === 200) {
if (accountErrorCode.indexOf(response.data.code) !== -1) {
window.location.href = '/'