摘要: 1、下载插件: npm i react-pdf 2、PdfPreview/index.tsx /* 进入该组件时,通过路由传递path进来,形如: history.push({ pathname: '/pdfPreview', query: { path } }) */ import React, 阅读全文
posted @ 2021-07-14 20:33 吴小明- 阅读(1227) 评论(0) 推荐(0)