<script setup lang="ts">
/** 旧路由兼容：重定向到服务器页并打开凭据对话框 */
import { onMounted } from 'vue'
import { useRouter } from 'vue-router'

defineOptions({ name: 'CredentialsPage' })

const router = useRouter()

onMounted(() => {
  router.replace({ path: '/servers', query: { credentials: '1' } })
})
</script>

<template>
  <div />
</template>
