moreShopAdmin/dist/admin/assets/index.7996ea58.js

2 lines
630 B
JavaScript
Raw Normal View History

2024-09-03 18:00:11 +08:00
import{d,b as c}from"./index.b17b0724.js";import{d as r,o as s,c as n,H as p,a3 as _,U as i,Q as m}from"./@vue.18505fe0.js";const u=r({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=c;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-acafd744"]]);export{y as _};