import{N as r}from"./app-DCd54JMo.js";import{N as e}from"./app-CabATHnR.js";import{o as c,c as o,w as s,b as a,f as n,g as m,t as i,h}from"./app-BYcXwl4U.js";const v={key:0},p={__name:"@menu",props:["ctx","activeTab"],setup(t){return(u,f)=>(c(),o(r,{"active-tab":t.activeTab},{tabs:s(()=>[a(e,{href:"/servers/cache",value:"purge",name:"刷新缓存"}),a(e,{href:"/servers/cache/fetch",value:"fetch",name:"预热缓存"}),a(e,{separator:""}),a(e,{href:"/servers/cache/tasks",value:"task"},{name:s(()=>[n(" 所有任务"),t.ctx.countDoingTasks>0?(c(),m("span",v,"("+i(t.ctx.countDoingTasks)+")",1)):h("",!0)]),_:1})]),_:1},8,["active-tab"]))}};export{p as _};
