刘翔宇-旅管家 3 years ago
parent fcc63c1543
commit 2438fba7a9

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

Loading…
Cancel
Save