mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 02:00:25 +08:00
fix: form col style
This commit is contained in:
parent
2407b3368c
commit
840332abf7
@ -22,7 +22,7 @@
|
|||||||
- 添加部分注释
|
- 添加部分注释
|
||||||
- pwa 图标补充
|
- pwa 图标补充
|
||||||
- types 类型调整
|
- types 类型调整
|
||||||
- 升级`ant-design-vue`到`beta.11`,并修改带来的已知问题
|
- 升级`ant-design-vue`到`beta.11`,并修改带来的已知问题,部分问题发现后在解决
|
||||||
|
|
||||||
### 🐛 Bug Fixes
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ export function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<
|
|||||||
width = isNumber(width) ? `${width}px` : width;
|
width = isNumber(width) ? `${width}px` : width;
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
labelCol: { style: { width }, span: 1, ...labelCol },
|
labelCol: { style: { width }, ...labelCol },
|
||||||
wrapperCol: { style: { width: `calc(100% - ${width})` }, span: 23, ...wrapperCol },
|
wrapperCol: { style: { width: `calc(100% - ${width})` }, ...wrapperCol },
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user