flat: 暂存

This commit is contained in:
Apcallover
2025-12-25 17:54:01 +08:00
parent 369d065008
commit bd2538aea4
3 changed files with 11 additions and 11 deletions

View File

@@ -70,7 +70,7 @@ class ScreenDetectionManager {
count: 1
}
}
}
// 动态加载 CSS
@@ -85,11 +85,11 @@ class ScreenDetectionManager {
// 添加加载成功/失败监听
this.cssLink.onload = () => {
console.log('🎨 宽屏 CSS 文件加载成功');
console.log('宽屏 CSS 文件加载成功');
};
this.cssLink.onerror = () => {
console.error('宽屏 CSS 文件加载失败');
console.error('宽屏 CSS 文件加载失败');
this.cssLink = null;
};
@@ -108,7 +108,7 @@ class ScreenDetectionManager {
try {
this.cssLink.parentNode.removeChild(this.cssLink);
this.cssLink = null;
console.log('🗑️ 宽屏 CSS 文件已移除');
console.log('宽屏 CSS 文件已移除');
return true;
} catch (error) {
console.error('移除 CSS 失败:', error);