mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-07 13:48:31 +08:00
fix(layout-sider): placement right does not work (#996)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai> Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
parent
1cfa229e89
commit
32b30ff2e2
@ -2,6 +2,10 @@
|
||||
|
||||
## Pending
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix `n-layout`'s `sider-placement` doesn't work after build, closes [#978](https://github.com/TuSimple/naive-ui/issues/978).
|
||||
|
||||
### Feats
|
||||
|
||||
- `n-cascader` add `onUpdateValue` prop.
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
## Pending
|
||||
|
||||
### Fixes
|
||||
|
||||
- 修复 `n-layout` 的 `sider-placement` 属性在打包之后不生效,关闭 [#978](https://github.com/TuSimple/naive-ui/issues/978)
|
||||
|
||||
### Feats
|
||||
|
||||
- `n-cascader` 新增 `onUpdateValue` 方法
|
||||
|
@ -83,7 +83,7 @@ export function createLayoutComponent (isContent: boolean) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (__DEV__) provide(layoutInjectionKey, props)
|
||||
provide(layoutInjectionKey, props)
|
||||
const hasSiderStyle: CSSProperties = {
|
||||
display: 'flex',
|
||||
flexWrap: 'nowrap',
|
||||
|
Loading…
Reference in New Issue
Block a user