Browse Source

fix: 修改vue动画名称错误

奔跑的面条 3 năm trước cách đây
mục cha
commit
0c4974ca1d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/styles/common/animation.scss

+ 2 - 2
src/styles/common/animation.scss

@@ -44,7 +44,7 @@
 }
 
 // 渐变
-.fade-enter,
+.fade-enter-from,
 .fade-leave-to {
   opacity: 0;
 }
@@ -58,7 +58,7 @@
 .list-complete-item {
   transition: all 1s;
 }
-.list-complete-enter,
+.list-complete-enter-from,
 .list-complete-leave-to {
   opacity: 0;
   transform: translateY(30px);