Update app.js
This commit is contained in:
1 parent
d9b3417469
commit
23b236c9d7
1 file changed
+10
@@ -1267,5 +1267,15 @@ async function init() {
|
||||
});
|
||||
});
|
||||
}
|
||||
// 加载完成,隐藏 loading 动画
|
||||
setTimeout(() => {
|
||||
const overlay = document.getElementById('loadingOverlay');
|
||||
if (overlay) {
|
||||
overlay.style.opacity = '0';
|
||||
setTimeout(() => {
|
||||
overlay.style.display = 'none';
|
||||
}, 600);
|
||||
}
|
||||
}, 500);
|
||||
|
||||
document.addEventListener('DOMContentLoaded', init);
|
||||
Reference in new issue
Block a user