fix(setup): 补齐跨端 Node 检测与新手引导

This commit is contained in:
晴天
2026-06-08 22:31:00 +08:00
parent 634fe66556
commit d60db3b71b
7 changed files with 172 additions and 14 deletions

View File

@@ -349,6 +349,9 @@ export function showUpgradeModal(title) {
}
closeBtn.focus()
},
setCloseText(label) {
if (label) closeBtn.textContent = label
},
onClose(fn) { _onClose = fn },
destroy() { overlay.remove(); if (_taskBar) { _taskBar.remove(); _taskBar = null } _onClose?.() },
}