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

feat: 重构Picker、DateTimePicker #199

Merged
merged 10 commits into from
Jun 30, 2022

Conversation

Dengzygx
Copy link
Collaborator

@Dengzygx Dengzygx commented Jun 24, 2022

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

Breaking Change

  • Picker:重构Picker组件
    • 移除子组件<picker-item/>,新增基于Picker开发的级联选择组件<cascade />
    • 新增columns,代表配置每一列的选项;新增renderLabel,用于自定义渲染label;新增onPick,选中任何一列时均会触发
    • 修改onChangeonConfirm的回调参数
  • DateTimePicker:重构DateTimePicker组件
    • 移除disableDateshowWeek
    • 新增start,用于设置最小可选时间;新增end,用于设置最大可选时间
    • onColumnChange改名为onPick,修改回调参数
    • 修改onChangeonConfirm的回调参数

Bug Fix

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@github-actions
Copy link
Contributor

github-actions bot commented Jun 24, 2022

完成

@Dengzygx Dengzygx changed the title feat: 重构Picker feat: 重构Picker、DateTimePicker Jun 30, 2022
src/picker/picker.vue Show resolved Hide resolved
@LeeJim LeeJim merged commit 2ea756b into Tencent:develop Jun 30, 2022
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