diff --git a/packages/ui/certd-client/src/plugin/fast-crud/index.tsx b/packages/ui/certd-client/src/plugin/fast-crud/index.tsx index c2b252c9..8435c693 100644 --- a/packages/ui/certd-client/src/plugin/fast-crud/index.tsx +++ b/packages/ui/certd-client/src/plugin/fast-crud/index.tsx @@ -128,6 +128,15 @@ function install(app: App, options: any = {}) { return { currentPage, pageSize, records: res.records, total: res.total, ...res }; } }, + search: { + formItem: { + wrapperCol: { + style: { + width: "50%" + } + } + } + }, form: { display: "flex", labelCol: { diff --git a/packages/ui/certd-client/src/style/antdv4.less b/packages/ui/certd-client/src/style/antdv4.less index 1478e699..b2ce61d3 100644 --- a/packages/ui/certd-client/src/style/antdv4.less +++ b/packages/ui/certd-client/src/style/antdv4.less @@ -45,4 +45,8 @@ .ant-modal { max-width: calc(100% - 32px) !important ; +} + +.fs-search .ant-row{ + flex-flow: row wrap !important; } \ No newline at end of file diff --git a/packages/ui/certd-client/src/views/certd/history/crud.tsx b/packages/ui/certd-client/src/views/certd/history/crud.tsx index 4c2fbb49..318dfa4d 100644 --- a/packages/ui/certd-client/src/views/certd/history/crud.tsx +++ b/packages/ui/certd-client/src/views/certd/history/crud.tsx @@ -66,7 +66,12 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat formItem: { labelCol: { style: { - width: "120px" + // width: "100px" + } + }, + wrapperCol: { + style: { + width: "50%" } } } @@ -127,10 +132,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat title: "流水线名称", type: "text", search: { - show: true, - component: { - name: "a-input" - } + show: true }, column: { width: 300,