|
@@ -122,15 +122,15 @@ service.interceptors.response.use(
|
|
|
duration: 5 * 1000
|
|
|
})
|
|
|
} else {
|
|
|
- error.message = '登录中'
|
|
|
- Message({
|
|
|
- message: error.message,
|
|
|
- type: 'warning',
|
|
|
- duration: 5 * 1000
|
|
|
- })
|
|
|
- if (location.href.indexOf('localhost') < 0) {
|
|
|
- location.href = 'http://10.179.209.19:8899/'
|
|
|
- }
|
|
|
+ // error.message = '登录中'
|
|
|
+ // Message({
|
|
|
+ // message: error.message,
|
|
|
+ // type: 'warning',
|
|
|
+ // duration: 5 * 1000
|
|
|
+ // })
|
|
|
+ // if (location.href.indexOf('localhost') < 0) {
|
|
|
+ // location.href = 'http://10.179.209.19:8899/'
|
|
|
+ // }
|
|
|
}
|
|
|
return Promise.reject(error)
|
|
|
}
|