pdf修改
This commit is contained in:
parent
c6a03eb869
commit
447dd43a65
|
@ -528,7 +528,8 @@
|
|||
width="1000px"
|
||||
:before-close="htClose">
|
||||
<div class="pdfCom">
|
||||
<canvas :id="'canvas'+item" v-for="item in pdfHTML" :key="item" />
|
||||
<iframe :src="pdfUrl" width="100%" height="600px" frameborder="0" sandbox="allow-same-origin allow-scripts allow-forms"></iframe>
|
||||
<!-- <canvas :id="'canvas'+item" v-for="item in pdfHTML" :key="item" /> -->
|
||||
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
@ -920,7 +921,7 @@ export default {
|
|||
},
|
||||
showht(url){
|
||||
// this.pdfUrl='@/assets/222.pdf'
|
||||
this.pdfUrl='http://api.yruibao.com//api222.pdf?e=1706691788&token=MI4PDg9LYWXJyahzx5ec6-Ih0YNwQhew_BQUhttS:L2jIdMZLGukvrXLGP-iXImrHy80='
|
||||
this.pdfUrl='http://api.yruibao.com/crmebimage/public/content/2024/02/03/0eba557ba62041e190b8d819a9f69ca3884hdh9izs.pdf'
|
||||
const CMAP_URL = "https://cdn.jsdelivr.net/npm/pdfjs-dist@2.0.943/cmaps/";
|
||||
let obj = {};
|
||||
obj.url = this.pdfUrl; //pdf文件地址,根据情景自行修改
|
||||
|
|
Loading…
Reference in New Issue
Block a user