fix(select): incorrect when disabled and filterable (#699)

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
Mr.Bai 2021-07-29 00:49:16 +08:00 committed by GitHub
parent 966918ad57
commit 4e45f5d9c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View File

@ -5,10 +5,12 @@
### Feats
- `n-time-picker` optimization the now button logic, closes [#401](https://github.com/TuSimple/naive-ui/issues/401).
### Fixes
- Fix `n-message`'s `destroyAll` method doesn't work.
- Fix `n-timeline`'s header slot is invalid when using alone.
- Fix `n-select` incorrect style when props has `disabled` and `filterable`, closes [#698](https://github.com/TuSimple/naive-ui/issues/698).
## 2.15.9 (2021-07-28)

View File

@ -4,11 +4,13 @@
### Feats
- `n-time-picker` 优化此刻按钮逻辑, 关闭 [#401](https://github.com/TuSimple/naive-ui/issues/401)
- `n-time-picker` 优化 now 按钮的逻辑,关闭 [#401](https://github.com/TuSimple/naive-ui/issues/401)
### Fixes
- 修复 `n-message``destroyAll` 方法不生效
- 修复 `n-timeline` 的 header slot 单独使用无效的问题
- 修复 `n-select` 当属性是 `disabled``filterable` 时样式错误, 关闭 [#698](https://github.com/TuSimple/naive-ui/issues/698)
## 2.15.9 (2021-07-28)

View File

@ -196,6 +196,9 @@ export default c([
cE('input', `
cursor: not-allowed;
color: var(--text-color-disabled);
`),
cE('render-label', `
color: var(--text-color-disabled);
`)
]),
cB('base-selection-tags', `