import{y as l,al as c,z as t,A as i,B as m,P as o,I as _,J as r,O as p,M as u}from"./vendor-866bb149-1782572373740v=1.0.0.js";import{_ as f}from"./index-f6f689f9-1782572373740v=1.0.0.js";import"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";const y={class:"common-title"},x={class:"title"},C=l({__name:"CommonTitle",props:{title:{type:String,default:""},showAdd:{type:Boolean,default:!0},addText:{type:String,default:"\u65B0\u589E"}},emits:["add"],setup(e,{emit:a}){const s=a,n=()=>{s("add")};return(h,B)=>{const d=c("el-button");return t(),i("div",y,[m("span",x,o(e.title),1),e.showAdd?(t(),_(d,{key:0,type:"primary",link:"",onClick:n,icon:"Plus"},{default:r(()=>[p(o(e.addText),1)]),_:1})):u("v-if",!0)])}}});const g=f(C,[["__scopeId","data-v-a3ae9e78"]]);export{g as default};
