fix: 修复手机模式下,查询框被文字遮盖的bug

pull/330/head
xiaojunnuo 2024-12-24 17:52:03 +08:00
parent 005622307e
commit 040788c793
3 changed files with 20 additions and 5 deletions

View File

@ -128,6 +128,15 @@ function install(app: App, options: any = {}) {
return { currentPage, pageSize, records: res.records, total: res.total, ...res }; return { currentPage, pageSize, records: res.records, total: res.total, ...res };
} }
}, },
search: {
formItem: {
wrapperCol: {
style: {
width: "50%"
}
}
}
},
form: { form: {
display: "flex", display: "flex",
labelCol: { labelCol: {

View File

@ -45,4 +45,8 @@
.ant-modal { .ant-modal {
max-width: calc(100% - 32px) !important ; max-width: calc(100% - 32px) !important ;
}
.fs-search .ant-row{
flex-flow: row wrap !important;
} }

View File

@ -66,7 +66,12 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
formItem: { formItem: {
labelCol: { labelCol: {
style: { style: {
width: "120px" // width: "100px"
}
},
wrapperCol: {
style: {
width: "50%"
} }
} }
} }
@ -127,10 +132,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
title: "流水线名称", title: "流水线名称",
type: "text", type: "text",
search: { search: {
show: true, show: true
component: {
name: "a-input"
}
}, },
column: { column: {
width: 300, width: 300,