Skip to content

Commit 81c9b82

Browse files
committed
perf: 优化样式
1 parent ac3056b commit 81c9b82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ruoyi-fastapi-frontend/src/assets/styles/transition.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
transition: opacity 0.28s;
77
}
88

9-
.fade-enter,
9+
.fade-enter-from,
1010
.fade-leave-active {
1111
opacity: 0;
1212
}
@@ -18,7 +18,7 @@
1818
transition: all .5s;
1919
}
2020

21-
.fade-transform-enter {
21+
.fade-transform-enter-from {
2222
opacity: 0;
2323
transform: translateX(-30px);
2424
}
@@ -34,7 +34,7 @@
3434
transition: all .5s;
3535
}
3636

37-
.breadcrumb-enter,
37+
.breadcrumb-enter-from,
3838
.breadcrumb-leave-active {
3939
opacity: 0;
4040
transform: translateX(20px);

0 commit comments

Comments
 (0)