mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
refactor(modal): change showMask to unstableShowMask
This commit is contained in:
parent
3a93193e01
commit
21fbd00a74
@ -5,7 +5,6 @@
|
||||
### Feat
|
||||
|
||||
- `n-layout-sider` add `default-collapsed` prop.
|
||||
- `n-modal` add `show-mask` prop.
|
||||
- `n-modal` support custom position.
|
||||
|
||||
### Fixes
|
||||
|
@ -5,7 +5,6 @@
|
||||
### Feat
|
||||
|
||||
- `n-layout-sider` 新增 `default-collapsed` 属性
|
||||
- `n-modal` 新增 `show-mask` 属性
|
||||
- `n-modal` 支持自定义位置
|
||||
|
||||
### Fixed
|
||||
|
@ -45,7 +45,7 @@ export default defineComponent({
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
showMask: {
|
||||
unstableShowMask: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
@ -266,7 +266,7 @@ export default defineComponent({
|
||||
style: this.cssVars as CSSProperties
|
||||
},
|
||||
[
|
||||
this.showMask
|
||||
this.unstableShowMask
|
||||
? h(
|
||||
Transition,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user