2 lines
634 B
JavaScript
2 lines
634 B
JavaScript
import{_ as r,a as d}from"./index.5d64105b.js";import{d as c,o as s,c as n,H as _,Z as p,U as i,R as m}from"./@vue.e8706010.js";const u=c({props:{showClose:{type:Boolean,default:!0}},emits:["close"],setup(e,{emit:o}){return{handleClose:()=>{o("close")}}}});const f={class:"del-wrap"};function C(e,o,a,h,v,$){const t=d;return s(),n("div",f,[_(e.$slots,"default",{},void 0,!0),e.showClose?(s(),n("div",{key:0,class:"icon-close",onClick:o[0]||(o[0]=p((...l)=>e.handleClose&&e.handleClose(...l),["stop"]))},[i(t,{size:12,name:"el-icon-CloseBold"})])):m("",!0)])}const y=r(u,[["render",C],["__scopeId","data-v-2a98aa67"]]);export{y as _};
|