ls-pro-common 1.0.41 → 1.0.42

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.
@@ -542,7 +542,7 @@ function useSingle(inParam) {
542
542
  sortArr = [];
543
543
 
544
544
  for (_key2 in sort) {
545
- sortArr.push(_key2 + ' ' + sort[_key2] === 'ascend' ? 'asc' : 'desc');
545
+ sortArr.push(_key2 + ' ' + (sort[_key2] === 'ascend' ? 'asc' : 'desc'));
546
546
  }
547
547
 
548
548
  param.sort = sortArr.join(',');
@@ -563,7 +563,7 @@ function useSingle(inParam) {
563
563
  sortArr = [];
564
564
 
565
565
  for (_key2 in sort) {
566
- sortArr.push(_key2 + ' ' + sort[_key2] === 'ascend' ? 'asc' : 'desc');
566
+ sortArr.push(_key2 + ' ' + (sort[_key2] === 'ascend' ? 'asc' : 'desc'));
567
567
  }
568
568
 
569
569
  param.sort = sortArr.join(',');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
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.32",
31
+ "ls-pro-table": "2.62.34",
32
32
  "ls-pro-form": "1.52.27",
33
33
  "@babel/runtime": "^7.16.3",
34
34
  "classnames": "^2.2.6",