Skip to content
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

Merged
merged 12 commits into from
Jun 5, 2023
Merged

refactor: TimeSelect #1088

merged 12 commits into from
Jun 5, 2023

Conversation

eiinu
Copy link
Member

@eiinu eiinu commented Jun 2, 2023

No description provided.

Copy link
Collaborator

@oasis-cloud oasis-cloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
为什么和 1.x 的高度不一致?

| Property | Description | Type | Default |
| --- | --- | --- | --- |
| visible | whether to display popup | `boolean` | `false` |
| title | title | `ReactNode` | `取件时间` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要翻译一下

const options = [
{
value: 'zhejiang',
text: '浙江',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以翻译一下

Copy link
Member Author

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: '取件时间',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以放到语言包中

Copy link
Member Author

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%',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要排查高度设置为什么表现出来的和 1.x 不一致

Copy link
Member Author

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% 了

@oasis-cloud oasis-cloud merged commit 94ba4eb into jdf2e:next Jun 5, 2023
@eiinu eiinu deleted the v2.0-timeselect branch June 5, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants