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

@@ -1000,37 +1000,37 @@ onMounted(() => {
}
.faq-category-pane {
width: 236px;
min-width: 236px;
border: 1px solid var(--el-border-color-lighter);
border-radius: 12px;
background: var(--el-fill-color-blank);
display: flex;
flex-direction: column;
width: 236px;
min-width: 236px;
overflow: hidden;
background: var(--el-fill-color-blank);
border: 1px solid var(--el-border-color-lighter);
border-radius: 12px;
}
.faq-category-header {
display: flex;
justify-content: space-between;
align-items: center;
justify-content: space-between;
padding: 10px;
border-bottom: 1px solid var(--el-border-color-lighter);
font-weight: 600;
border-bottom: 1px solid var(--el-border-color-lighter);
}
.faq-category-tree {
flex: 1;
padding: 6px;
overflow: auto;
flex: 1;
}
.faq-category-node {
display: flex;
gap: 6px;
align-items: center;
width: 100%;
min-width: 0;
display: flex;
align-items: center;
gap: 6px;
}
.faq-category-node.is-all-node .faq-category-node-label {
@@ -1053,12 +1053,12 @@ onMounted(() => {
}
.faq-content-pane {
flex: 1;
padding: 14px 16px 8px;
overflow: auto;
background: var(--el-fill-color-blank);
border: 1px solid var(--el-border-color-lighter);
border-radius: 12px;
padding: 14px 16px 8px;
background: var(--el-fill-color-blank);
flex: 1;
overflow: auto;
}
.faq-header {
@@ -1074,18 +1074,18 @@ onMounted(() => {
.faq-toolbar {
display: flex;
gap: 14px;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 2px 0;
}
.faq-search-actions {
flex: 1;
min-width: 260px;
display: flex;
align-items: center;
flex: 1;
gap: 10px;
align-items: center;
min-width: 260px;
}
.faq-search-input {
@@ -1095,15 +1095,15 @@ onMounted(() => {
.faq-primary-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 10px;
justify-content: flex-end;
}
:deep(.faq-toolbar .el-button) {
height: 38px;
padding: 0 16px;
border-radius: 10px;
font-weight: 500;
border-radius: 10px;
transition:
border-color 0.2s ease,
background-color 0.2s ease,
@@ -1112,15 +1112,15 @@ onMounted(() => {
:deep(.faq-toolbar .el-button:not(.el-button--primary):hover) {
color: hsl(var(--primary));
border-color: hsl(var(--primary) / 45%);
background: hsl(var(--primary) / 7%);
border-color: hsl(var(--primary) / 45%);
}
:deep(.faq-search-input .el-input__wrapper) {
padding-right: 12px;
padding-left: 12px;
border-radius: 10px;
box-shadow: 0 0 0 1px var(--el-border-color) inset;
padding-left: 12px;
padding-right: 12px;
}
:deep(.faq-search-input .el-input__wrapper:hover) {
@@ -1142,8 +1142,8 @@ onMounted(() => {
:deep(.faq-category-tree .el-tree-node__content) {
height: 34px;
border-radius: 8px;
padding-right: 4px;
border-radius: 8px;
}
:deep(.faq-category-tree .el-tree-node__content:hover) {
@@ -1157,8 +1157,8 @@ onMounted(() => {
}
:deep(.el-tree-node.is-current > .el-tree-node__content) {
background-color: hsl(var(--primary) / 15%);
color: hsl(var(--primary));
background-color: hsl(var(--primary) / 15%);
}
:deep(
@@ -1168,8 +1168,8 @@ onMounted(() => {
}
:deep(.el-table) {
border-radius: 10px;
overflow: hidden;
border-radius: 10px;
}
:deep(.el-table th.el-table__cell) {
@@ -1183,8 +1183,8 @@ onMounted(() => {
@media (max-width: 1360px) {
.faq-toolbar {
align-items: flex-start;
flex-direction: column;
align-items: flex-start;
}
.faq-search-actions,