searchSchema: SFSchema = {
properties: {
tenantId_eq: {
ui: {
// width: 300,
placeholder: '请选择学校',
widget: 'remote-select',
config: {
query: `
query tenants ($pagination: PaginationArgs) {
response: tenants(pagination: $pagination) {
edges {
node {
value: id
label: name
}
}
}
}
`
}
},
type: 'string',
title: '学校名称'
},
sex_eq: {
type: 'string',
title: '性别',
enum: [
{ label: '男', value: '1' },
{ label: '女', value: '0' }
],
ui: {
width: 700,
widget: 'select',
placeholder: '请选择性别',
change: (value, orgData) => console.log(value, orgData)
} as SFSelectWidgetSchema
}
}
};
width是设置宽度的,可是这样设置的宽度确是下面的结果
我想要的结果是
我知道用css修改可以修改他的宽度,但是我不想要那么做,而且在官方文档里面写到这个width是可以调整宽度的,我这个却无法调整,想要知道原因