Initial commit: 网络验证平台
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
import { Button } from '@/components/ui/button'
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
function handleSignUp() {
|
||||
router.push('/auth/register')
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Button variant="default" @click="handleSignUp">
|
||||
{{ $t('auth.signUp') }}
|
||||
</Button>
|
||||
</template>
|
||||
Reference in New Issue
Block a user