fix(notification): fix animation error (#640)

This commit is contained in:
Ryan2128
2020-11-20 21:23:42 +08:00
committed by GitHub
parent b19d2fc374
commit 4569f7b1f2

View File

@@ -82,7 +82,7 @@
}
}
.el-notification-fade-enter {
.el-notification-fade-enter-from{
&.right {
right: 0;
transform: translateX(100%);
@@ -93,7 +93,6 @@
transform: translateX(-100%);
}
}
.el-notification-fade-leave-active {
.el-notification-fade-leave-to {
opacity: 0;
}