@doreamonjs/page-detail 1.12.26 → 1.12.29

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.12.29](https://github.com/doreamonjs/doreamon/compare/v1.12.28...v1.12.29) (2024-10-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **page-detail:** loading add check values._id ([185bf8c](https://github.com/doreamonjs/doreamon/commit/185bf8c0de7dd6dd863c32d7a2d41d5c154b4694))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.12.27](https://github.com/doreamonjs/doreamon/compare/v1.12.26...v1.12.27) (2024-08-12)
18
+
19
+ **Note:** Version bump only for package @doreamonjs/page-detail
20
+
21
+
22
+
23
+
24
+
6
25
  ## [1.12.26](https://github.com/doreamonjs/doreamon/compare/v1.12.25...v1.12.26) (2024-08-12)
7
26
 
8
27
  **Note:** Version bump only for package @doreamonjs/page-detail
package/lib/index.js CHANGED
@@ -95,6 +95,12 @@ const DetailPage = (props) => {
95
95
  else if (typeof (values === null || values === void 0 ? void 0 : values.id) === 'number') {
96
96
  return +id !== (values === null || values === void 0 ? void 0 : values.id);
97
97
  }
98
+ else if (typeof (values === null || values === void 0 ? void 0 : values._id) === 'string') {
99
+ return id !== (values === null || values === void 0 ? void 0 : values._id);
100
+ }
101
+ else if (typeof (values === null || values === void 0 ? void 0 : values._id) === 'number') {
102
+ return +id !== (values === null || values === void 0 ? void 0 : values._id);
103
+ }
98
104
  return false;
99
105
  };
100
106
  if (isLoading()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doreamonjs/page-detail",
3
- "version": "1.12.26",
3
+ "version": "1.12.29",
4
4
  "description": "detail page",
5
5
  "keywords": [
6
6
  "doreamonjs",
@@ -71,7 +71,7 @@
71
71
  "@znode/fs": "^1.0.2"
72
72
  },
73
73
  "dependencies": {
74
- "@doreamonjs/components": "^1.12.26",
74
+ "@doreamonjs/components": "^1.12.27",
75
75
  "@zodash/doreamon": "^1.1.5",
76
76
  "antd": "4.18.9",
77
77
  "react-monaco-editor": "^0.50.1",
@@ -80,5 +80,5 @@
80
80
  "xterm-addon-attach": "^0.6.0",
81
81
  "xterm-addon-fit": "^0.5.0"
82
82
  },
83
- "gitHead": "7606ddc18e730f91eeee5e9fab33eeff81b3bef6"
83
+ "gitHead": "c44df245efe55a0fc1fa1ffa0861aa913daa4730"
84
84
  }