08 2020 档案
摘要:第一步:先下载 html-pdf,命令为 npm i html-pdf -D var pdf = require('html-pdf'); 第二部:创建一个pdf模板 var html1 = fs.readFileSync('./routes/1.html','utf8') //模板1 <!DOCT
阅读全文
摘要:1.在ts中,碰到Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'. No index signature with a para
阅读全文