| 1234567891011121314151617181920 |
- <script lang="ts" setup>
- import type { LoginAndRegisterParams } from '@vben/common-ui';
- import { ref } from 'vue';
- import { AuthenticationRegister } from '@vben/common-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>
|