Skip to content

Commit

Permalink
Merge pull request #803 from XiaoMi/feature/2.6.0
Browse files Browse the repository at this point in the history
Feature/2.6.0
  • Loading branch information
zhan8863 authored Nov 28, 2019
2 parents 1e24801 + 7418813 commit 6d8adba
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

## 2.6.0

- 新增 `<Tree />` 右键菜单允许自定义内容
- 优化 `<Tree />` 异步加载时的加载状态 [#744](https://github.com/XiaoMi/hiui/issues/744)
- 新增 `<Tree />` 右键菜单允许自定义内容[#217](https://github.com/XiaoMi/hiui/issues/217)
- 新增 `<Tree />` 异步加载时的加载状态 [#744](https://github.com/XiaoMi/hiui/issues/744)
- 新增 `<DatePicker />` daterange / weekrange 类型下,可直接选择年份/月份 [#801](https://github.com/XiaoMi/hiui/issues/801)
- 新增 `<Transfer />` onChange 函数入参 dir(穿梭方向)、movedItems(穿梭数据项) [#793](https://github.com/XiaoMi/hiui/issues/793)
- 新增 `<Transfer />` targetSortType 解决穿梭项的排序问题 [#792](https://github.com/XiaoMi/hiui/issues/792)
- 修复 `<DatePicker />` daterange 类型日期选择器展开时间与面板展示时间不一致的问题 [#794](https://github.com/XiaoMi/hiui/issues/794)

## 2.5.4

Expand Down
2 changes: 1 addition & 1 deletion components/tree/TreeNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ class TreeNode extends Component {
// 异步加载子节点
loadChildren = itemId => {
const { origin } = this.props
const _orgin = typeof orgin === 'object' ? origin : origin(itemId)
const _orgin = typeof origin === 'function' ? origin(itemId) : origin
const { method, url, headers, data, params, transformResponse } = _orgin
const { dataCache } = this.state
const that = this
Expand Down
9 changes: 9 additions & 0 deletions docs/zh-CN/components/changelog.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# 更新日志

## 2.6.0

- 新增 `<Tree />` 右键菜单允许自定义内容[#217](https://github.com/XiaoMi/hiui/issues/217)
- 新增 `<Tree />` 异步加载时的加载状态 [#744](https://github.com/XiaoMi/hiui/issues/744)
- 新增 `<DatePicker />` daterange / weekrange 类型下,可直接选择年份/月份 [#801](https://github.com/XiaoMi/hiui/issues/801)
- 新增 `<Transfer />` onChange 函数入参 dir(穿梭方向)、movedItems(穿梭数据项) [#793](https://github.com/XiaoMi/hiui/issues/793)
- 新增 `<Transfer />` targetSortType 解决穿梭项的排序问题 [#792](https://github.com/XiaoMi/hiui/issues/792)
- 修复 `<DatePicker />` daterange 类型日期选择器展开时间与面板展示时间不一致的问题 [#794](https://github.com/XiaoMi/hiui/issues/794)

## 2.5.4

- 优化 `<Select />` 异步多选的交互,支持多次搜索选择 [#774](https://github.com/XiaoMi/hiui/issues/774)
Expand Down

0 comments on commit 6d8adba

Please sign in to comment.