fix: form col style

This commit is contained in:
vben 2020-10-31 00:25:25 +08:00
parent 2407b3368c
commit 840332abf7
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
- 添加部分注释
- pwa 图标补充
- types 类型调整
- 升级`ant-design-vue`到`beta.11`,并修改带来的已知问题
- 升级`ant-design-vue`到`beta.11`,并修改带来的已知问题,部分问题发现后在解决
### 🐛 Bug Fixes

View File

@ -36,8 +36,8 @@ export function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<
width = isNumber(width) ? `${width}px` : width;
}
return {
labelCol: { style: { width }, span: 1, ...labelCol },
wrapperCol: { style: { width: `calc(100% - ${width})` }, span: 23, ...wrapperCol },
labelCol: { style: { width }, ...labelCol },
wrapperCol: { style: { width: `calc(100% - ${width})` }, ...wrapperCol },
};
});
}