doc: change log 1.1.1

This commit is contained in:
07akioni 2020-05-18 20:19:52 +08:00
parent 35fba228df
commit db6d77f403
3 changed files with 40 additions and 2 deletions

View File

@ -1,8 +1,18 @@
# CHANGELOG
## 1.1.1 (2020-05-18)
### Fixes
- Update css-render dependencies.
- Color of default typed button icon.
### Performance Imporvements
- Reduce useless re-renders of `n-menu-item`.
- Reduce useless re-renders of doc page.
### Refactors
- Refactor the codes of `n-nimbus-service-layout` for performance reason, may be there will be some bugs.
## 1.1.0 (2020-05-16)
### Features
- `n-button` now accepts custom color.
### Refactor
### Refactors
- Replace all $slots by $scopedSlots for better robustness.
- Move some static button styles inside button component to create dynamically.

View File

@ -1,8 +1,18 @@
# CHANGELOG
## 1.1.1 (2020-05-18)
### Fixes
- 更新 css-render 的依赖
- 默认类型的按钮的 icon 的颜色
### Performance Imporvements
- 减少了 `n-menu-item` 没用的重复渲染
- 减少了文档页面没用的重复渲染
### Refactors
- 为了性能重构了 `n-nimbus-service-layout` 的部分代码
## 1.1.0 (2020-05-16)
### Features
- `n-button` 接受自定义颜色
### Refactor
### Refactors
- 将内部所有使用 $slots 的地方换为 $scopedSlots 来获得更好的鲁棒性
- 将部分按钮样式生成转移到组件内动态进行

View File

@ -137,6 +137,24 @@ zindex 的问题解决了,虽然很简单,在 static 元素上设定 zindex
## 2020.3.25
一个有趣的事情是blur 到 document.body 之后document.activeElement 是 body但是 blurEvent.relatedTarget 会被设为 null
## 2020.5.18
rerender 报警了
```
h('NLayout', {
ref: 'body',
style: { ...this.contentStyle },
props: {
'use-native-scrollbar': false,
'scroll-content-style': {
width: '100%',
boxSizing: 'border-box',
padding: this.paddingBody ? '21px 48px' : null
}
}
}, null)
```
一个是computed导致重复渲染还有一个是 getScrollParent 缓存的问题
## TODO 排序不分先后
1. <del>Focus Detector on Time Selector</del>
2. <del>Menu Root Indent = 0 可能造成问题</del>