Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/hir_web
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2024-05-24 17:42:28 +08:00
commit 733fab40de
1 changed files with 5 additions and 1 deletions

View File

@ -59,7 +59,11 @@ service.interceptors.response.use(
MessageBox.confirm(res.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: action => { }
callback: action => {
if(res.Code === 6) {
window.close()
}
}
})
}
return Promise.reject(res)