f
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user