ls-pro-common 3.0.72 → 3.0.73

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.
@@ -759,7 +759,7 @@ function useDtl(dtlParam) {
759
759
  } else if (item.startsWith('sort=')) {
760
760
  // sort=createTime desc => sort.createTime=desc
761
761
  return item.replace('sort=', 'sort.').replace(' ', '=');
762
- } else if (item.startsWith('ifPage=') || item.startsWith('ifHistory=')) {
762
+ } else if (item.startsWith('ifPage=') || item.startsWith('ifHistory=') || item.startsWith('resCode=')) {
763
763
  return item;
764
764
  } else {
765
765
  //其它查询条件,添加 search.
@@ -558,7 +558,7 @@ function useSingle(inParam) {
558
558
  } else if (item.startsWith('sort=')) {
559
559
  // sort=createTime desc => sort.createTime=desc
560
560
  return item.replace('sort=', 'sort.').replace(' ', '=');
561
- } else if (item.startsWith('ifPage=') || item.startsWith('ifHistory=')) {
561
+ } else if (item.startsWith('ifPage=') || item.startsWith('ifHistory=') || item.startsWith('resCode=')) {
562
562
  return item;
563
563
  } else {
564
564
  //其它查询条件,添加 search.
@@ -759,7 +759,7 @@ function useDtl(dtlParam) {
759
759
  } else if (item.startsWith('sort=')) {
760
760
  // sort=createTime desc => sort.createTime=desc
761
761
  return item.replace('sort=', 'sort.').replace(' ', '=');
762
- } else if (item.startsWith('ifPage=') || item.startsWith('ifHistory=')) {
762
+ } else if (item.startsWith('ifPage=') || item.startsWith('ifHistory=') || item.startsWith('resCode=')) {
763
763
  return item;
764
764
  } else {
765
765
  //其它查询条件,添加 search.
@@ -558,7 +558,7 @@ function useSingle(inParam) {
558
558
  } else if (item.startsWith('sort=')) {
559
559
  // sort=createTime desc => sort.createTime=desc
560
560
  return item.replace('sort=', 'sort.').replace(' ', '=');
561
- } else if (item.startsWith('ifPage=') || item.startsWith('ifHistory=')) {
561
+ } else if (item.startsWith('ifPage=') || item.startsWith('ifHistory=') || item.startsWith('resCode=')) {
562
562
  return item;
563
563
  } else {
564
564
  //其它查询条件,添加 search.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "3.0.72",
3
+ "version": "3.0.73",
4
4
  "description": "ls-pro-common",
5
5
  "license": "MIT",
6
6
  "sideEffects": [