From fadb1d35b3336a43c9bfbbd3fb8ac99e6fe092ef Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Wed, 30 Oct 2024 19:26:28 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=B1:=20[client]=20sync=20upgrade=20wit?= =?UTF-8?q?h=203=20commits=20[trident-sync]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge remote-tracking branch 'origin/main' fix: 修复search.formItem配置无效的bug --- .../src/views/crud/feature/search/crud.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/ui/certd-client/src/views/crud/feature/search/crud.tsx b/packages/ui/certd-client/src/views/crud/feature/search/crud.tsx index c620b19df..cb7098bea 100644 --- a/packages/ui/certd-client/src/views/crud/feature/search/crud.tsx +++ b/packages/ui/certd-client/src/views/crud/feature/search/crud.tsx @@ -1,5 +1,5 @@ import * as api from "./api"; -import { AddReq, CreateCrudOptionsProps, CreateCrudOptionsRet, DelReq, dict, EditReq, UserPageQuery, UserPageRes } from "@fast-crud/fast-crud"; +import { AddReq, CreateCrudOptionsProps, CreateCrudOptionsRet, DelReq, dict, EditReq, TabsFilterOption, UserPageQuery, UserPageRes } from "@fast-crud/fast-crud"; import { computed, ref } from "vue"; import { message } from "ant-design-vue"; @@ -42,6 +42,15 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti options: { layout: formLayoutRef }, + formItem: { + labelCol: { + //固定label宽度 + span: null, + style: { + width: "100px" + } + } + }, container: { action: { col: {