@ -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',