king
2021-01-07 2292d1826e69e21c8a411c217faef635fe57d458
src/api/index.js
@@ -84,6 +84,7 @@
    return Promise.resolve(response.data)
  }
}, (error) => {
  if (error && error.response) {
  notification.error({
    className: 'notification-custom-error',
    bottom: 0,
@@ -91,6 +92,7 @@
    placement: 'bottomRight',
    duration: 15
  })
  }
  return Promise.reject(error)
})