import{a as g}from"./index.lP_uh0LI.js";import v from"./crud.WxmMJqwB.js";import{d,a as C,o as x,b as t,h,f as k,w as n,g as a,n as R,u as V}from"./vue.BxlDVA1H.js";import"./index.DBDa3ku2.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";import"./authFunction.z5AMEiSQ.js";const B=d({name:"messageCenter"}),P=d({...B,setup(w){const e=C("send"),l=r=>{const{paneName:o}=r;e.value=o,s.doRefresh()},p={tabActivted:e},{crudRef:m,crudBinding:_,crudExpose:s}=g({createCrudOptions:v,context:p});return x(()=>{s.doRefresh()}),(r,o)=>{const c=t("el-tab-pane"),u=t("el-tabs"),f=t("fs-crud"),i=t("fs-page");return k(),h(i,null,{default:n(()=>[a(f,R({ref_key:"crudRef",ref:m},V(_)),{"header-middle":n(()=>[a(u,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=b=>e.value=b),onTabClick:l},{default:n(()=>[a(c,{label:"我的发布",name:"send"}),a(c,{label:"我的接收",name:"receive"})]),_:1},8,["modelValue"])]),_:1},16)]),_:1})}}});export{P as default};
