login.vue 391 B

123456789101112131415161718
  1. <script lang="ts" setup>
  2. import { AuthenticationLogin } from '@vben/common-ui';
  3. import { useAuthStore } from '#/store';
  4. defineOptions({ name: 'Login' });
  5. const authStore = useAuthStore();
  6. </script>
  7. <template>
  8. <AuthenticationLogin
  9. :loading="authStore.loginLoading"
  10. password-placeholder="123456"
  11. username-placeholder="vben"
  12. @submit="authStore.authLogin"
  13. />
  14. </template>