import{b as i}from"./element-plus.9cae3cb1.js";import{P as _}from"./index.b375235f.js";import{d as f,r as d,s as h,o as g,c as x,V as n,M as C,u as w}from"./@vue.96c135a1.js";const y={class:"image-popup"},b=f({__name:"image_alert",emits:["close","success"],setup(B,{expose:c,emit:a}){const s=d(""),o=a,l=e=>{console.log("setImage",e),s.value=e},t=h(),r=()=>{var e;(e=t.value)==null||e.open()},p=()=>{o("close",!1)},m=async()=>{o("success",!1)};return c({open:r,setImage:l}),(e,k)=>{const u=i;return g(),x("div",y,[n(_,{ref_key:"popupRef",ref:t,title:"\u9884\u89C8\u56FE\u7247",async:!0,width:"30%",onConfirm:m,onClose:p,cancelButtonText:"",confirmButtonText:""},{default:C(()=>[n(u,{style:{width:"100%",height:"100%"},src:w(s)},null,8,["src"])]),_:1},512)])}}});export{b as _};
