mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-04 04:08:13 +00:00
2 lines
597 B
JavaScript
2 lines
597 B
JavaScript
import{d as l,X as o,h as c,c as u,a as p,u as s,z as i,aH as _}from"./index-9f163f98.js";const d=["src"],m=l({__name:"preview-qrcode",props:{value:{type:Object,default:{}}},setup(a,{expose:r}){const t=a;o(()=>t.value);const n=o(()=>{let e="";return e+=`width: ${t.value.width}px;`,e});return r({}),(e,f)=>(c(),u("div",{class:"pointer-events-none max-w-[720px]",style:_(s(n))},[p("img",{src:s(i)("static/resource/images/diy/qrcode.png"),class:"w-full h-full"},null,8,d)],4))}}),y=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"}));export{y as _};
|