|
@@ -49,7 +49,7 @@ service.interceptors.request.use(config => {
|
|
service.interceptors.response.use((response) => {
|
|
service.interceptors.response.use((response) => {
|
|
console.log(response, 'response.data.status')
|
|
console.log(response, 'response.data.status')
|
|
if (window.location.pathname != '/user/login') {
|
|
if (window.location.pathname != '/user/login') {
|
|
- if (response.data.status == '500') {
|
|
|
|
|
|
+ if (response.data.status == '500' || response.data.status == '900') {
|
|
notification.destroy()
|
|
notification.destroy()
|
|
notification.error({
|
|
notification.error({
|
|
message: '提示',
|
|
message: '提示',
|