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

@@ -25,7 +25,7 @@ const dialogVisible = ref(false);
<style scoped>
.sys-apikey-container {
height: 100%;
width: 100%;
height: 100%;
}
</style>

View File

@@ -128,7 +128,11 @@ function remove(row: any) {
{{ row.title }}
</template>
</ElTableColumn>
<ElTableColumn :label="$t('common.handle')" width="90" align="right">
<ElTableColumn
:label="$t('common.handle')"
width="90"
align="right"
>
<template #default="{ row }">
<div class="flex items-center gap-3">
<ElButton link type="primary" @click="showDialog(row)">

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import {onMounted, ref} from 'vue';
import { onMounted, ref } from 'vue';
import {$t} from '@easyflow/locales';
import { $t } from '@easyflow/locales';
import {
ElAlert,
@@ -14,7 +14,7 @@ import {
ElSelect,
} from 'element-plus';
import {api} from '#/api/request.js';
import { api } from '#/api/request.js';
import providerList from '#/views/ai/model/modelUtils/providerList.json';
interface ProviderOptionExtra {