fix: 修复desktopNotifyEnabled变量重复声明
This commit is contained in:
@@ -1701,8 +1701,7 @@ HTML_TEMPLATE = '''<!DOCTYPE html>
|
||||
localStorage.setItem('systemThresholds', JSON.stringify(thresholds));
|
||||
}
|
||||
|
||||
// 桌面通知开关
|
||||
let desktopNotifyEnabled = false;
|
||||
// 桌面通知开关(已在外部声明 desktopNotifyEnabled)
|
||||
|
||||
function toggleDesktopNotify() {
|
||||
const checked = document.getElementById('enableDesktopNotify').checked;
|
||||
|
||||
Reference in New Issue
Block a user