auth.vue 649 B

12345678910111213141516171819202122232425
  1. <script lang="ts" setup>
  2. import { computed } from 'vue';
  3. import { AuthPageLayout } from '@vben/layouts';
  4. import { preferences } from '@vben/preferences';
  5. import { $t } from '#/locales';
  6. const appName = computed(() => preferences.app.name);
  7. const logo = computed(() => preferences.logo.source);
  8. const clickLogo = () => {};
  9. </script>
  10. <template>
  11. <AuthPageLayout
  12. :app-name="appName"
  13. :logo="logo"
  14. :page-description="$t('authentication.pageDesc')"
  15. :page-title="$t('authentication.pageTitle')"
  16. :click-logo="clickLogo"
  17. >
  18. <!-- 自定义工具栏 -->
  19. <!-- <template #toolbar></template> -->
  20. </AuthPageLayout>
  21. </template>