@ledvance/ui-biz-bundle 1.0.21 → 1.0.22

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.0.21",
7
+ "version": "1.0.22",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -114,7 +114,7 @@ export function dp2Obj(dp: string): BiorhythmBean {
114
114
  hex2Int(dpCopy.slice(0, 2))
115
115
  dpCopy = dpCopy.slice(2)
116
116
  // 节点列表
117
- const planList: Plan[] = spliceByStep(dpCopy, 18).map((planHex, index) => {
117
+ const planList: Plan[] = dpCopy === '00' ? [] : spliceByStep(dpCopy, 18).map((planHex, index) => {
118
118
  let hex = planHex
119
119
  // 节点开关
120
120
  const enable = hex2Int(hex.slice(0, 2)) === 1