docs: add disable animation tip (#9175)

This commit is contained in:
neverland
2021-08-04 09:59:22 +08:00
committed by GitHub
parent 2fe60bc4a9
commit d6e5dcb813
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ export default {
| --- | --- | --- | --- |
| show | 是否展示遮罩层 | _boolean_ | `false` |
| z-index | z-index 层级 | _number \| string_ | `1` |
| duration | 动画时长,单位秒 | _number \| string_ | `0.3` |
| duration | 动画时长,单位秒,设置为 0 可以禁用动画 | _number \| string_ | `0.3` |
| class-name | 自定义类名 | _string_ | - |
| custom-style | 自定义样式 | _object_ | - |
| lock-scroll | 是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动 | _boolean_ | `true` |