import{d as a,G as e,a5 as r,k as s,p as l,r as n,o as m,c as t,a as o,w as u,f as p,j as d,s as i,Q as c}from"./index-018fb6dd.js";import y from"./index-9fb7643f.js";import f from"./index-aeda245a.js";const b=a({__name:"index",props:{primary:Object},setup(a){const b=a;e();const _=r(),g=(a,e)=>{h.value=a},h=s("recharge");return l((()=>{h.value=_.query.tab||"recharge"})),(a,e)=>{const r=n("el-tab-pane"),s=n("el-tabs");return m(),t("div",null,[o(s,{modelValue:p(h),"onUpdate:modelValue":e[0]||(e[0]=a=>c(h)?h.value=a:null),class:"demo-tabs",onTabChange:g},{default:u((()=>[o(r,{label:"充值订单",name:"recharge"},{default:u((()=>["recharge"==p(h)?(m(),d(y,{key:0,primary:b.primary},null,8,["primary"])):i("",!0)])),_:1}),o(r,{label:"退款订单",name:"refund"},{default:u((()=>["refund"==p(h)?(m(),d(f,{key:0,primary:b.primary},null,8,["primary"])):i("",!0)])),_:1})])),_:1},8,["modelValue"])])}}});export{b as _};
