Skip to content

Commit 7b2cfe7

Browse files
committed
!303 fix(layer): 设置animDuration属性无效
* fix(layer): 设置animDuration属性无效 #I9IJLY
1 parent 0b4adfa commit 7b2cfe7

File tree

2 files changed

+2
-2
lines changed
  • docs/document-component/src/document/zh-CN/components
  • packages/layer/src/component

2 files changed

+2
-2
lines changed

docs/document-component/src/document/zh-CN/components/layer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ const openCallback = () => {
789789
| maxmin | 缩放 | boolean | `false` | `true` `false` |
790790
| resize | 拉伸 | boolean | `false` | `true` `false` |
791791
| anim | 入场动画 | number | `0` | `0` - `6` |
792-
| isOutAnim | 出场动画 | boolean | `true` | `true` `false` |
792+
| isOutAnim | 离场动画 | boolean | `true` | `true` `false` |
793793
| btnAlign | 按钮位置 | string | `r` | `l` `c` `r` |
794794
| closeBtn | 关闭按钮 | boolean string | `1` | `false` `1` `2` |
795795
| time | 关闭时间 | number | `0` | -- |

packages/layer/src/component/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ const enterActiveClass = computed(() => {
563563
if (type === 6) {
564564
return getNotifyAnimationClass(props.offset);
565565
}
566-
return `layer-anim layer-anim-0${props.anim}`;
566+
return `layer-anim-0${props.anim}`;
567567
});
568568
569569
/**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy