<script setup>
import Navbar from "@/components/common/Navbar.vue";
import NavTab from "@/components/common/NavTab.vue";

const props = defineProps(["ctx"])
</script>

<template>
	<Navbar secondary>
		<template #tabs>
			<NavTab :href="'.?serverId=' + ctx.serverId" value="index" name="设置"></NavTab>
			<NavTab :href="'.purge?serverId=' + ctx.serverId" value="purge" name="刷新"></NavTab>
			<NavTab :href="'.fetch?serverId=' + ctx.serverId" value="fetch" name="预热"></NavTab>
		</template>
	</Navbar>
</template>

<style scoped lang="postcss">

</style>