ls-pro-common 1.0.45 → 1.0.48

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.
@@ -144,4 +144,10 @@ body {
144
144
 
145
145
  .ant-btn-primary {
146
146
  color: #fff;
147
+ }
148
+
149
+ .ant-btn-dangerous {
150
+ color: var(--ant-error-color);
151
+ border-color: var(--ant-error-color);
152
+ background: #fff;
147
153
  }
package/es/http/index.js CHANGED
@@ -26,6 +26,11 @@ request.interceptors.request.use(function (url, options) {
26
26
  resCode: getUrlQuery('resCode') || getUrlQuery('resourceId') || getResourceProps('resourceId'),
27
27
  _t1: Date.now()
28
28
  };
29
+
30
+ if (!param.resCode) {
31
+ delete param.resCode;
32
+ }
33
+
29
34
  return {
30
35
  url: setUrlQuery(url, param),
31
36
  options: opts
@@ -144,4 +144,10 @@ body {
144
144
 
145
145
  .ant-btn-primary {
146
146
  color: #fff;
147
+ }
148
+
149
+ .ant-btn-dangerous {
150
+ color: var(--ant-error-color);
151
+ border-color: var(--ant-error-color);
152
+ background: #fff;
147
153
  }
package/lib/http/index.js CHANGED
@@ -45,6 +45,11 @@ request.interceptors.request.use(function (url, options) {
45
45
  resCode: (0, _utils.getUrlQuery)('resCode') || (0, _utils.getUrlQuery)('resourceId') || (0, _utils.getResourceProps)('resourceId'),
46
46
  _t1: Date.now()
47
47
  };
48
+
49
+ if (!param.resCode) {
50
+ delete param.resCode;
51
+ }
52
+
48
53
  return {
49
54
  url: (0, _utils.setUrlQuery)(url, param),
50
55
  options: opts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "1.0.45",
3
+ "version": "1.0.48",
4
4
  "description": "ls-pro-common",
5
5
  "keywords": [
6
6
  "antd",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "dependencies": {
30
30
  "@ant-design/icons": "^4.3.0",
31
- "ls-pro-table": "2.62.35",
31
+ "ls-pro-table": "2.62.37",
32
32
  "ls-pro-form": "1.52.27",
33
33
  "@babel/runtime": "^7.16.3",
34
34
  "classnames": "^2.2.6",