perf: 简化login代码

This commit is contained in:
xingyu
2023-01-05 14:21:07 +08:00
parent 6a9244a707
commit 2dd1e01183
3 changed files with 23 additions and 68 deletions

View File

@ -165,7 +165,7 @@ const filterSearchSchema = (crudSchema: VxeCrudSchema): VxeFormItemProps[] => {
// 添加搜索按钮
const buttons: VxeFormItemProps = {
span: 24,
align: 'center',
align: 'right',
collapseNode: searchSchema.length > spanLength,
itemRender: {
name: '$buttons',