2 lines
914 B
Vue
Raw Permalink Normal View History

2025-04-29 09:38:12 +08:00
import{p as l}from"./pdfImage.5f9669c7.js";import{a7 as c,a8 as f,a as _,o as s,c as a,e as d,g as n}from"./vendor.3937d42d.js";import{h as p}from"./online.eb873553.js";import{_ as m}from"./index.e47da145.js";const u={setup(){const e=c({fileUrl:[],fileOssPath:"",type:Request("type")});f(()=>{+e.type!=1?o():setTimeout(()=>{e.fileOssPath=Request("fileOssPath"),console.log(11111,e.fileOssPath)},1e3)});async function o(){let r=await p();e.fileUrl=r.imgPath}return{state:e}},components:{pdfImage:l}},h={id:"news-pdf"},v={key:0,class:"top"},y=["src"];function g(e,o,r,t,P,O){const i=_("pdf-image");return s(),a("div",h,[t.state.fileUrl.length>0&&+t.state.type!=1?(s(),a("div",v,[d(i,{urlList:t.state.fileUrl},null,8,["urlList"])])):n("v-if",!0),+t.state.type==1?(s(),a("iframe",{key:1,src:t.state.fileOssPath},null,8,y)):n("v-if",!0)])}var U=m(u,[["render",g],["__scopeId","data-v-d5ee9d4a"]]);export{U as default};