提交 626e0c9d 编写于 作者: A afc163

Fix DatePicker default width, close #4947, ref #4920

上级 b7519a65
......@@ -143,7 +143,7 @@ export default function createPicker(TheCalendar) {
// default width for showTime
const pickerStyle = {} as any;
if (props.showTime) {
pickerStyle.minWidth = 154;
pickerStyle.width = (props.style && props.style.width) || 154;
}
const clearIcon = (!props.disabled && props.allowClear && value) ?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册