@@ -77,7 +77,7 @@ export function parseCachePower ({ switchStatus, typeArray = '[]' }) {
connectIndex: 0,
portIndex: 0,
powerIndex: index,
- type: typeArray[index],
+ type: typeArray?.[index] || '未知',
action: Number(val)
}
})