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

docs(Modal): 模态对话框文档中没引入组件报错 #954

Merged
merged 2 commits into from Mar 14, 2023
Merged

docs(Modal): 模态对话框文档中没引入组件报错 #954

merged 2 commits into from Mar 14, 2023

Conversation

nullptr-z
Copy link
Collaborator

No description provided.

@@ -106,7 +106,9 @@ export default function MonthPicker(props: MonthPickerProps) {
setType(captionType);
} else {
const year = new Date(panelDate).getFullYear();
const curPanelDate = new Date(new Date(panelDate).setFullYear(type === 'next' ? year + 1 : year - 1));
const curPanelDate = new Date(
new Date(panelDate).setFullYear(captionType === 'next' ? year + 1 : year - 1),
Copy link
Member

Choose a reason for hiding this comment

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

@nullptr-z 修复了一个bug?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

有一个之前修的的文档错误 0022a5c

@jaywcjlove jaywcjlove merged commit acfa8c3 into uiwjs:master Mar 14, 2023
github-actions bot added a commit that referenced this pull request Mar 14, 2023
* docs(Modal): 模态对话框文档中没引入组件报错

* fix(MonthPicker): 修复月份选择器,选择下一年时,实际上选择了前一年 acfa8c3
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.

None yet

2 participants