chore: format code

This commit is contained in:
vben
2024-06-08 19:49:06 +08:00
parent d584d4cf4e
commit 7bcd7746ca
187 changed files with 775 additions and 587 deletions

View File

@@ -1,13 +1,13 @@
<script setup lang="ts">
import { VbenButton, VbenInput, VbenPinInput } from '@vben-core/shadcn-ui';
import type { LoginCodeEmits } from './typings';
import { $t } from '@vben/locales';
import { computed, onBeforeUnmount, reactive, ref } from 'vue';
import { useRouter } from 'vue-router';
import Title from './auth-title.vue';
import { $t } from '@vben/locales';
import { VbenButton, VbenInput, VbenPinInput } from '@vben-core/shadcn-ui';
import type { LoginCodeEmits } from './typings';
import Title from './auth-title.vue';
interface Props {
/**

View File

@@ -1,10 +1,10 @@
<script setup lang="ts">
import { VbenButton, VbenInput } from '@vben-core/shadcn-ui';
import { $t } from '@vben/locales';
import { computed, reactive } from 'vue';
import { useRouter } from 'vue-router';
import { $t } from '@vben/locales';
import { VbenButton, VbenInput } from '@vben-core/shadcn-ui';
import Title from './auth-title.vue';
interface Props {

View File

@@ -1,4 +1,10 @@
<script setup lang="ts">
import type { LoginEmits } from './typings';
import { computed, reactive } from 'vue';
import { useRouter } from 'vue-router';
import { $t } from '@vben/locales';
import {
VbenButton,
VbenCheckbox,
@@ -6,15 +12,9 @@ import {
VbenInputPassword,
} from '@vben-core/shadcn-ui';
import { $t } from '@vben/locales';
import { computed, reactive } from 'vue';
import { useRouter } from 'vue-router';
import Title from './auth-title.vue';
import ThirdPartyLogin from './third-party-login.vue';
import type { LoginEmits } from './typings';
interface Props {
/**
* @zh_CN 验证码登录路径

View File

@@ -1,11 +1,12 @@
<script setup lang="ts">
import { VbenButton } from '@vben-core/shadcn-ui';
import { $t } from '@vben/locales';
import { useQRCode } from '@vueuse/integrations/useQRCode';
import { ref } from 'vue';
import { useRouter } from 'vue-router';
import { $t } from '@vben/locales';
import { VbenButton } from '@vben-core/shadcn-ui';
import { useQRCode } from '@vueuse/integrations/useQRCode';
import Title from './auth-title.vue';
interface Props {

View File

@@ -1,4 +1,10 @@
<script setup lang="ts">
import type { RegisterEmits } from './typings';
import { computed, reactive } from 'vue';
import { useRouter } from 'vue-router';
import { $t } from '@vben/locales';
import {
VbenButton,
VbenCheckbox,
@@ -6,14 +12,8 @@ import {
VbenInputPassword,
} from '@vben-core/shadcn-ui';
import { $t } from '@vben/locales';
import { computed, reactive } from 'vue';
import { useRouter } from 'vue-router';
import Title from './auth-title.vue';
import type { RegisterEmits } from './typings';
interface Props {
/**
* @zh_CN 是否处于加载处理状态

View File

@@ -1,9 +1,8 @@
<script setup lang="ts">
import { $t } from '@vben/locales';
import { MdiGithub, MdiGoogle, MdiQqchat, MdiWechat } from '@vben-core/iconify';
import { VbenIconButton } from '@vben-core/shadcn-ui';
import { $t } from '@vben/locales';
defineOptions({
name: 'ThirdPartyLogin',
});

View File

@@ -1,13 +1,13 @@
<script setup lang="ts">
import type { VbenDropdownMenuItem } from '@vben-core/shadcn-ui';
import { computed } from 'vue';
import { $t } from '@vben/locales';
import { MdiDockBottom, MdiDockLeft, MdiDockRight } from '@vben-core/iconify';
import { preferences, usePreferences } from '@vben-core/preferences';
import { VbenDropdownRadioMenu, VbenIconButton } from '@vben-core/shadcn-ui';
import { $t } from '@vben/locales';
import { computed } from 'vue';
defineOptions({
name: 'AuthenticationLayoutToggle',
});