@okiss/oms 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1233,11 +1233,12 @@ const baseResponseInterceptor = {
1233
1233
  return response.data;
1234
1234
  },
1235
1235
  onRejected(error) {
1236
+ var _a;
1236
1237
  if (axios.isCancel(error)) {
1237
1238
  return Promise.reject("");
1238
1239
  }
1239
1240
  Message({
1240
- message: `${error.message} ${error.config.method}::${error.config.url}`,
1241
+ message: `${error.message} ${error.config.method}::${(_a = error.config.url) == null ? void 0 : _a.split("?")[0]}`,
1241
1242
  type: "error",
1242
1243
  duration: 5 * 1e3
1243
1244
  });