refactor(modal): change showMask to unstableShowMask

This commit is contained in:
07akioni 2021-03-17 10:43:47 +08:00
parent 3a93193e01
commit 21fbd00a74
3 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,6 @@
### Feat
- `n-layout-sider` add `default-collapsed` prop.
- `n-modal` add `show-mask` prop.
- `n-modal` support custom position.
### Fixes

View File

@ -5,7 +5,6 @@
### Feat
- `n-layout-sider` 新增 `default-collapsed` 属性
- `n-modal` 新增 `show-mask` 属性
- `n-modal` 支持自定义位置
### Fixed

View File

@ -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,
{