不为别的,只为做一个连自己都羡慕的人

摘要: 第一步:先下载 html-pdf,命令为 npm i html-pdf -D var pdf = require('html-pdf'); 第二部:创建一个pdf模板 var html1 = fs.readFileSync('./routes/1.html','utf8') //模板1 <!DOCT 阅读全文
posted @ 2020-08-26 14:08 升级打怪 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-08-26 13:44 升级打怪 阅读(5300) 评论(0) 推荐(0) 编辑