Skip to content

Commit

Permalink
fix: tansition组件受其他变量影响自动隐藏的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
18148764734 committed Apr 23, 2024
1 parent 0f1448f commit d77ba37
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions uni_modules/uni-transition/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.3.3(2024-04-23)
- 修复 当元素会受变量影响自动隐藏的bug
## 1.3.2(2023-05-04)
- 修复 NVUE 平台报错的问题
## 1.3.1(2021-11-23)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export default {
},
animationType(type) {
return {
fade: type ? 1 : 0,
fade: type ? 0 : 1,
'slide-top': `translateY(${type ? '0' : '-100%'})`,
'slide-right': `translateX(${type ? '0' : '100%'})`,
'slide-bottom': `translateY(${type ? '0' : '100%'})`,
Expand Down
5 changes: 3 additions & 2 deletions uni_modules/uni-transition/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-transition",
"displayName": "uni-transition 过渡动画",
"version": "1.3.2",
"version": "1.3.3",
"description": "元素的简单过渡动画",
"keywords": [
"uni-ui",
Expand Down Expand Up @@ -43,7 +43,8 @@
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
"aliyun": "y",
"alipay": "n"
},
"client": {
"App": {
Expand Down

0 comments on commit d77ba37

Please sign in to comment.