This commit is contained in:
Mrx
2026-04-19 16:30:06 +08:00
parent 7b472db9d8
commit 5c4921b34e
10 changed files with 788 additions and 26 deletions

View File

@@ -95,7 +95,13 @@
<script type="module" src="/src/main.js"></script>
<script>
console.log('[index.html] 页面脚本开始执行');
window.onerror = function(msg, url, lineNo, columnNo, error) {
console.error('[index.html] 全局错误捕捉:', msg, 'at', url, 'line:', lineNo);
return false;
};
document.addEventListener('DOMContentLoaded', () => {
console.log('[index.html] DOMContentLoaded 已触发');
const loadingElement = document.getElementById('app-loading');
if (loadingElement) {
loadingElement.style.opacity = '0';