2 lines
682 B
JavaScript
2 lines
682 B
JavaScript
import{_ as r,c}from"./index-C0Kev2hn.js";import{f as d,ak as s,I as n,aq as p,a as i,H as m}from"./@vue/runtime-core-C6bnekPw.js";import{s as _}from"./@vue/runtime-dom-DDAG46FW.js";const f=d({props:{showClose:{type:Boolean,default:!0}},emits:["close"],setup(e,{emit:o}){return{handleClose:()=>{o("close")}}}}),u={class:"del-wrap"};function C(e,o,t,h,$,k){const a=c;return s(),n("div",u,[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=r(f,[["render",C],["__scopeId","data-v-acafd744"]]);export{y as _};
|