import{C as v,O as C}from"./index.K_MFulpu.js";import"./elementPlus.CSBdF9Zt.js";import{createCrudOptions as x}from"./crud.BS0piMTI.js";import{d as O,r as s,j as g,ai as n,o as k,M as R,O as r,U as a,K as V}from"./vue.1RczIYhx.js";import"./index.DIw38cNH.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";import"./authFunction.CJG6xplX.js";const A=O({__name:"index",setup(h){const c=s(),l=s(),{crudExpose:e}=v({crudRef:c,crudBinding:l}),o=s("send"),m=d=>{const{paneName:t}=d;o.value=t,e.doRefresh()},{crudOptions:u}=x({crudExpose:e,tabActivted:o});return C({crudExpose:e,crudOptions:u}),g(()=>{e.doRefresh()}),(d,t)=>{const p=n("el-tab-pane"),_=n("el-tabs"),i=n("fs-crud"),f=n("fs-page");return k(),R(f,null,{default:r(()=>[a(i,V({ref_key:"crudRef",ref:c},l.value),{"header-middle":r(()=>[a(_,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=b=>o.value=b),onTabClick:m},{default:r(()=>[a(p,{label:"我的发布",name:"send"}),a(p,{label:"我的接收",name:"receive"})]),_:1},8,["modelValue"])]),_:1},16)]),_:1})}}});export{A as default};
