|
|
|
@ -60,7 +60,7 @@ service.interceptors.response.use(
|
|
|
|
|
|
|
|
|
|
|
|
loading.close()
|
|
|
|
loading.close()
|
|
|
|
// if the custom code is not 20000, it is judged as an error.
|
|
|
|
// if the custom code is not 20000, it is judged as an error.
|
|
|
|
if (res.errcode) {
|
|
|
|
if (res.hasOwnProperty("errcode")) {
|
|
|
|
Message({
|
|
|
|
Message({
|
|
|
|
message: res.errmsg || 'Error',
|
|
|
|
message: res.errmsg || 'Error',
|
|
|
|
type: 'error',
|
|
|
|
type: 'error',
|
|
|
|
|