1

当我尝试使用 jspdf 将 html 表转换为 pdf 时,出现此错误:

TypeError: this.internal.getCurrentPageInfo is not a function

此处使用相同的代码https://codepen.io/someatoms/pen/adojWy

我参考了https://github.com/simonbengtsson/jsPDF-AutoTable/blob/master/examples/examples.js#L142

4

1 回答 1

0

codepen 示例使用的是旧版本的 jspdf。现在通过更新到最新版本修复了 codepen 示例。

于 2017-06-01T12:20:10.640 回答