mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
Update sequential-entrance.vue
This commit is contained in:
parent
e4ba1d870c
commit
c020a4a529
1 changed files with 6 additions and 7 deletions
|
@ -59,13 +59,12 @@ export default Vue.extend({
|
|||
if (document.hidden) {
|
||||
el.style.opacity = 1;
|
||||
el.style.transform = 'translateY(0px)';
|
||||
return;
|
||||
};
|
||||
|
||||
setTimeout(() => { // 必要
|
||||
el.style.opacity = 1;
|
||||
el.style.transform = 'translateY(0px)';
|
||||
});
|
||||
} else {
|
||||
setTimeout(() => { // 必要
|
||||
el.style.opacity = 1;
|
||||
el.style.transform = 'translateY(0px)';
|
||||
});
|
||||
}
|
||||
},
|
||||
leave(el) {
|
||||
el.style.opacity = 0;
|
||||
|
|
Loading…
Reference in a new issue