login.vue 399 B

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