fix: 修复管理端前端 lint 与构建问题

- 收敛 easyflow-ui-admin 的 lint、格式和类型问题

- 修正 demo 页面与管理端前端构建失败点

- 验证 pnpm lint 与 pnpm build 均已通过
This commit is contained in:
2026-04-05 21:39:13 +08:00
parent bb72e19c84
commit 7e7c236c2a
240 changed files with 5151 additions and 4701 deletions

View File

@@ -1,12 +1,12 @@
<script setup lang="ts">
import {ref} from 'vue';
import {useRouter} from 'vue-router';
import { ref } from 'vue';
import { useRouter } from 'vue-router';
import {$t} from '@easyflow/locales';
import { $t } from '@easyflow/locales';
import {EasyFlowButton} from '@easyflow-core/shadcn-ui';
import { EasyFlowButton } from '@easyflow-core/shadcn-ui';
import {useQRCode} from '@vueuse/integrations/useQRCode';
import { useQRCode } from '@vueuse/integrations/useQRCode';
import Title from './auth-title.vue';
@@ -112,25 +112,29 @@ function goToLogin() {
}
.auth-qrcode-frame {
align-items: center;
background: linear-gradient(180deg, rgb(255 255 255 / 0.92), rgb(244 249 255 / 0.96));
border: 1px solid hsl(var(--line-subtle));
border-radius: 1.5rem;
box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
max-width: 17rem;
padding: 1rem;
margin: 0 auto;
background: linear-gradient(
180deg,
rgb(255 255 255 / 92%),
rgb(244 249 255 / 96%)
);
border: 1px solid hsl(var(--line-subtle));
border-radius: 1.5rem;
box-shadow: inset 0 1px 0 rgb(255 255 255 / 60%);
}
.auth-qrcode-image {
width: min(100%, 13rem);
aspect-ratio: 1;
border-radius: 1rem;
width: min(100%, 13rem);
}
.dark .auth-qrcode-frame {
background: linear-gradient(180deg, rgb(14 22 36 / 0.92), rgb(11 19 31 / 0.96));
background: linear-gradient(180deg, rgb(14 22 36 / 92%), rgb(11 19 31 / 96%));
}
</style>