engineering/public/admin/assets/index.0046a3ec.js
2024-01-12 16:37:09 +08:00

2 lines
634 B
JavaScript

import{_ as d,a as c}from"./index.2456ddbc.js";import{d as r,o as s,c as n,I as _,_ as p,V as i,S as m}from"./@vue.ab566ce7.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,[_(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(a,{size:12,name:"el-icon-CloseBold"})])):m("",!0)])}const y=d(u,[["render",C],["__scopeId","data-v-acafd744"]]);export{y as _};