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

@@ -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 },
};
});
}