Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/hir_web
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
733fab40de
|
@ -59,7 +59,11 @@ service.interceptors.response.use(
|
||||||
MessageBox.confirm(res.ErrorMessage, {
|
MessageBox.confirm(res.ErrorMessage, {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
callback: action => { }
|
callback: action => {
|
||||||
|
if(res.Code === 6) {
|
||||||
|
window.close()
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return Promise.reject(res)
|
return Promise.reject(res)
|
||||||
|
|
Loading…
Reference in New Issue