fix: 修复管理端前端 lint 与构建问题
- 收敛 easyflow-ui-admin 的 lint、格式和类型问题 - 修正 demo 页面与管理端前端构建失败点 - 验证 pnpm lint 与 pnpm build 均已通过
This commit is contained in:
@@ -503,7 +503,7 @@ const handleToggleVisibleChecked = (checked: boolean | number | string) => {
|
||||
checkedModelIds.value = [...next];
|
||||
};
|
||||
|
||||
const handlePublishToggle = async (nextValue: string | number | boolean) => {
|
||||
const handlePublishToggle = async (nextValue: boolean | number | string) => {
|
||||
if (!draft.id || !selectedModel.value || isPublishing.value) {
|
||||
return;
|
||||
}
|
||||
@@ -978,9 +978,9 @@ defineExpose({
|
||||
|
||||
.gateway-workspace__batch {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 10px 12px;
|
||||
background: hsl(var(--surface-contrast-soft) / 48%);
|
||||
border: 1px solid hsl(var(--divider-faint) / 40%);
|
||||
@@ -1019,8 +1019,8 @@ defineExpose({
|
||||
}
|
||||
|
||||
.gateway-model-item.is-active {
|
||||
border-color: hsl(var(--primary) / 42%);
|
||||
background: hsl(var(--primary) / 7%);
|
||||
border-color: hsl(var(--primary) / 42%);
|
||||
}
|
||||
|
||||
.gateway-model-item__content {
|
||||
@@ -1148,9 +1148,9 @@ defineExpose({
|
||||
|
||||
.gateway-form__actions {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
gap: 12px;
|
||||
justify-content: flex-end;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.gateway-info-grid {
|
||||
@@ -1189,8 +1189,8 @@ defineExpose({
|
||||
}
|
||||
|
||||
.gateway-example-item pre {
|
||||
margin: 0;
|
||||
padding: 14px;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
font-size: 12px;
|
||||
line-height: 1.7;
|
||||
@@ -1240,18 +1240,18 @@ defineExpose({
|
||||
}
|
||||
|
||||
.gateway-form__switch-row {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.gateway-form__invoke-row {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.gateway-publish-inline {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.gateway-hero__title {
|
||||
|
||||
Reference in New Issue
Block a user