2 lines
629 B
JavaScript
Executable File
2 lines
629 B
JavaScript
Executable File
import{d,b as r}from"./index.ffa405f0.js";import{d as c,o as s,c as n,H as p,Z as _,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,t,h,v,$){const a=r;return s(),n("div",f,[p(e.$slots,"default",{},void 0,!0),e.showClose?(s(),n("div",{key:0,class:"icon-close",onClick:o[0]||(o[0]=_((...l)=>e.handleClose&&e.handleClose(...l),["stop"]))},[i(a,{size:12,name:"el-icon-CloseBold"})])):m("",!0)])}const y=d(u,[["render",C],["__scopeId","data-v-2a98aa67"]]);export{y as _};
|