1 |
- import{d as w,P as b,v as m,o as e,c as t,F as j,n as B,g as l,t as C,f as d,w as o,q as I,_ as P,B as x,i as q,H as F,__tla as H}from"./index-2eab2d23.js";import{_ as T}from"./_plugin-vue_export-helper-1b428a4d.js";let _,z=Promise.all([(()=>{try{return H}catch{}})()]).then(async()=>{let s,r,i,n;s={class:"waterfall"},r=["href"],i=["src"],n={class:"item-name"},_=T(w({__name:"ImageTable",props:{list:{},loading:{type:Boolean}},emits:["delete"],setup(f,{emit:u}){const c=f,p=u;return(A,D)=>{const g=P,y=x,h=q,v=b("hasPermi"),k=F;return m((e(),t("div",s,[(e(!0),t(j,null,B(c.list,a=>(e(),t("div",{class:"waterfall-item",key:a.id},[l("a",{target:"_blank",href:a.url},[l("img",{class:"material-img",src:a.url},null,8,i),l("div",n,C(a.name),1)],8,r),d(h,{justify:"center"},{default:o(()=>[m((e(),I(y,{type:"danger",circle:"",onClick:E=>p("delete",a.id)},{default:o(()=>[d(g,{icon:"ep:delete"})]),_:2},1032,["onClick"])),[[v,["mp:material:delete"]]])]),_:2},1024)]))),128))])),[[k,c.loading]])}}}),[["__scopeId","data-v-5e6feeff"]])});export{z as __tla,_ as default};
|