我使用PDFmake在角度应用程序中生成pdf文件。我能够使用pdfmake库生成所有必需的结果。
但是我得到了的未处理承诺拒绝TypeError: null不是一个函数‘控制台日志中的错误,如下所示。
pdfmake.js:31998 Unhandled promise rejection TypeError: null is not a function
at __webpack_modules__.9662.module.exports (pdfmake.js:29878:1)
at new Promise (pdfmake.js:36500:1)
at
我正在尝试向我的表格添加宽度,但由于某些原因,我得到以下错误:
Component.html:187 ERROR TypeError: Cannot set property '_minWidth' of undefined at DocMeasure.measureTable (pdfmake.js:4487)
at pdfmake.js:4012
at StyleContextStack.auto (pdfmake.js:6069)
at DocMeasure.measureNode (pdfmake.js:3999)
at DocMeasure.measureVerti
我正在使用React开发一个web应用程序。我想导出一个图表和数据到一个单一的PDF页面。尝试这样做,我得到了以下错误
pdfmake.js:29058 Uncaught Error: unsupported number: 00940155.184155.1840040
at t.number (pdfmake.js:29058)
at r.lineTo (pdfmake.js:37584)
at d (pdfmake.js:2733)
at f (pdfmake.js:2601)
at r.createPdfKitDocument (pdfmake.
这是我的html代码,我从.js文件中呈现了所有的.js数据,但是
TypeError:不能将未定义或空的对象转换为Function.keys () at DocMeasure.measureNode (pdfmake.js:15647) at DocMeasure.measureDocument (pdfmake.js:15635) at LayoutBuilder.tryLayoutDocument (pdfmake.js:15088) at LayoutBuilder.layoutDocument (pdfmake.js:15076) at PdfPrinter.createPdfKi
我正在开发一个使用网络API2和AngularJS开发的项目。我是用PDF格式使用pdfmake.js创建报告的。它在Firefox上运行得很好。但出于安全原因,我喜欢限制用户使用。因为我需要用MAC地址来识别用户终端。
所以我命令用户使用I浏览器。在Internet中,当我想打开PDF新选项卡时,PDFMake.js在下面一行中出错:
Document.prototype.open = function(message) {
// we have to open the window immediately and store the reference
// otherwi
我更新了我的应用程序,它使用@ and /amcharts 4@4.3.5到角8,现在在编译它时遇到了问题。
已经更新了4.4.10版的图表。但问题依然存在。
ERROR in ./node_modules/@amcharts/amcharts4/.internal/core/export/Export.js 68:24
Module parse failed: Unexpected token (68:24)
You may need an appropriate loader to handle this file type.
| switch (_a.label)
我有一个可以随时显示100张图片的GalleryView。中心图片(默认情况下,在应用程序加载时或用户单击horz中的另一图片时。滚动列表)显示在ImageView的下方较大空间中。我想在GalleryView中突出显示选中的图片,可能会有比其他图片更亮的边框,以便它作为用户选择的图片突出。现在,即使中心图片是对焦的,它也有相同的边框,外观和感觉就像它旁边的其他图片。我希望它在视觉上是有区别的。
有人能帮我入门吗?
谢谢,
Ab