pptxtojson icon indicating copy to clipboard operation
pptxtojson copied to clipboard

捉到几个空指针异常

Open angryLid opened this issue 1 year ago • 1 comments

872行其中 attrs可能为undefined rNode.sort((a, b) => a.attrs.order - b.attrs.order)

977行 const text = genTextBody(tcNodes['a:txBody']) 后面还有四个参数没传,会报warpObj为undefined

1590行 serNode['c:xVal']['c:numRef']['c:numCache']['c:pt'] 这里的numRef也可能为undefined

测试文件恕我无法公开。

类似的bug应该有蛮多的,顺便请教一下作者有Roadmap吗,后续有没有考虑加入测试,用TypeScript重构之类的计划?

angryLid avatar Sep 25 '23 15:09 angryLid