12.1.0
版本发布时间: 2021-11-30 20:26:45
NG-ZORRO/ng-zorro-antd最新发布版本:18.1.1(2024-08-21 14:43:25)
12.1.0
2021-11-30
Bug Fixes
- tabs: tabs add btn disappear after all tab closed (#7076) (3709b73), closes #7077
-
tree-view: incorrect type of
trackBy
(#7085) (891a622) - tree-view: not updates when datasource data changes #7040 (#7083) (cad8ca0)
Features
- core,dropdown,table: add config for backdrop (#6783) (2f7c44d)
- tooltip: add arrow point at center (#7010) (7fac8eb)
- tooltip: support tooltip template context (#6948) (fec40a8), closes #6607
Performance Improvements
-
auto-complete: do not run change detection on
mousedown
andmouseenter
fornz-auto-option
(#7048) (d6ca43e) - core: do not run change detection when scrolling (#7062) (a972d7b)
- graph: reduce change detections on click events (#7056) (1e2960a)
- graph: resolve minimap memory leaks (#7052) (f93960c)
- modal: do not run change detection when focusing element (#7070) (ffcb709)
- radio: reduce change detection cycles (#7068) (b8cc94f)
- resizable: reduce change detection cycles (#7036) (5cad154)
-
select: reduce change detections for
nz-select-top-control
(#7038) (d45f0ab) -
upload: do not trigger change detection for
nz-upload-btn
(#7037) (7e587d1) - upload: previewing images should be cancellable when the component gets destroyed (#7067) (8f21ef1)
12.1.0
2021-11-30
Bug Fixes
- tabs: 修复可编辑标签页全部删除后无法继续添加问题 (#7076) (3709b73), closes #7077
-
tree-view: 修复未定义的
trackBy
(#7085) (891a622) - tree-view: 修复数据源中的数据发生变化时组件不更新问题 #7040 (#7083) (cad8ca0)
Features
- core,dropdown,table:: 组件新增 nzBackdrop 全局配置 (#6783) (2f7c44d)
- tooltip: 支持通过设置 nzTooltipArrowPointAtCenter 箭头将指向目标元素的中心 (#7010) (7fac8eb)
- tooltip: 支持提示文字模板上下文渲染 (#6948) (fec40a8), closes #6607
Performance Improvements
-
auto-complete:
nz-auto-option
下mousedown
和mouseenter
事件无需触发脏值检测 (#7048) (d6ca43e) - core: 滚动时无需触发脏值检测 (#7062) (a972d7b)
- graph: 点击事件减少触发脏值检测 (#7056) (1e2960a)
- graph: 解决缩略图内存泄漏问题 (#7052) (f93960c)
- modal: 元素聚焦时无需触发脏值检测 (#7070) (ffcb709)
- radio: 减少触发脏值检测 (#7068) (b8cc94f)
- resizable: 减少触发脏值检测 (#7036) (5cad154)
-
select:
nz-select-top-control
减少触发脏值检测 (#7038) (d45f0ab) -
upload:
nz-upload-btn
取消不必要的脏值检测 (#7037) (7e587d1) - upload: 组件销毁时预览图片应该可取消 (#7067) (8f21ef1)