我在Angular应用程序上使用JSPdf,我正在尝试使用JS自动表插件,但我遇到了JS错误EXCEPTION:Uncaught(inpromise):TypeError:doc.autoTableisnotafunctionTypeError:doc.autoTableisnotafunction我通过npm安装了jspdf和jspdf-autotable,我确认它们在节点模块中。我以这种方式导入了两个插件:import*asjsPDFfrom'jspdf'import*asautoTablefrom'jspdf-autotable'这是我的代码:privaterenderPdf()