Commit fdd5f93c authored by rockyl's avatar rockyl

修复fade动效的问题

parent cae566d7
...@@ -38,7 +38,11 @@ const effects = { ...@@ -38,7 +38,11 @@ const effects = {
fadeIn(callback); fadeIn(callback);
}) })
} else { } else {
fadeIn(callback); if (lastView && !view) {
fadeOut(callback)
} else {
fadeIn(callback);
}
} }
function fadeOut(callback) { function fadeOut(callback) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment