-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: TimeSelect #1088
refactor: TimeSelect #1088
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/packages/timeselect/doc.en-US.md
Outdated
| Property | Description | Type | Default | | ||
| --- | --- | --- | --- | | ||
| visible | whether to display popup | `boolean` | `false` | | ||
| title | title | `ReactNode` | `取件时间` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要翻译一下
src/packages/timeselect/doc.en-US.md
Outdated
const options = [ | ||
{ | ||
value: 'zhejiang', | ||
text: '浙江', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以翻译一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改了
multiple: false, | ||
currentKey: 0, | ||
currentTime: [], | ||
defaultValue: [], | ||
title: '取件时间', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以放到语言包中
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已放入语言包
position="bottom" | ||
style={{ | ||
width: '100%', | ||
height: '20%', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要排查高度设置为什么表现出来的和 1.x 不一致
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
组件内默认高度一直是 20%。
1.x 的 demo 中设置的高度是 50%,有点太高了,改成 30% 了
No description provided.