2021年5月10日

摘要: 步骤: 首先可以使用gulp构建一个自己的pdfJs或者使用官方的pdfJs,官方pdfjs下载地址:http://mozilla.github.io/pdf.js/getting_started/#download 选择这个即可。自己打包的话官方推荐gulp来打包。 把下载好的文件放入到vue项目 阅读全文
posted @ 2021-05-10 20:20 chenzejie6030 阅读(3523) 评论(2) 推荐(1)
摘要: 选择本地文件进行预览 html部分: <input type="file" @change="vchange" id="videoInput" /> <video src="xxx.mp4" alt="预览" ref="video" id="video" controls="controls" wi 阅读全文
posted @ 2021-05-10 19:46 chenzejie6030 阅读(2237) 评论(0) 推荐(0)

导航