@zgfe/business-lib 1.2.7 → 1.2.8

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.
Files changed (2) hide show
  1. package/es/utils/ajax.js +6 -4
  2. package/package.json +2 -2
package/es/utils/ajax.js CHANGED
@@ -30,10 +30,12 @@ var errorHandler = function errorHandler(error) {
30
30
  var errorText = codeMessage[response.status] || response.statusText;
31
31
  var status = response.status,
32
32
  url = response.url;
33
- notification.error({
34
- message: "\u8BF7\u6C42\u9519\u8BEF ".concat(status, ": ").concat(url),
35
- description: errorText
36
- });
33
+ if (url.indexOf('data/queryEsData.jsp') === -1) {
34
+ notification.error({
35
+ message: "\u8BF7\u6C42\u9519\u8BEF ".concat(status, ": ").concat(url),
36
+ description: errorText
37
+ });
38
+ }
37
39
  } else if (!response) {
38
40
  if (Request.isCancel(error) || (error === null || error === void 0 ? void 0 : error.type) === 'AbortError') {
39
41
  var abortError = new Error('AbortError');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -55,7 +55,7 @@
55
55
  "react": "^16.12.0 || ^17.0.0",
56
56
  "yorkie": "^2.0.0"
57
57
  },
58
- "gitHead": "26ac18987a5c98f9b4500c282673b98c7e481cf4",
58
+ "gitHead": "fdc78e3c8067ebeae1ba607f03ce35d4ce0296c2",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }