You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
494 B
21 lines
494 B
<script lang="ts" setup>
|
|
import type { LoginAndRegisterParams } from '@vben/universal-ui';
|
|
|
|
import { ref } from 'vue';
|
|
|
|
import { AuthenticationRegister } from '@vben/universal-ui';
|
|
|
|
defineOptions({ name: 'Register' });
|
|
|
|
const loading = ref(false);
|
|
|
|
function handleSubmit(value: LoginAndRegisterParams) {
|
|
// eslint-disable-next-line no-console
|
|
console.log('register submit:', value);
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<AuthenticationRegister :loading="loading" @submit="handleSubmit" />
|
|
</template>
|