修改PC端登录页

This commit is contained in:
zm2000 2026-05-26 13:39:44 +08:00
parent 1c948df084
commit a3040e5c7f

View File

@ -591,11 +591,10 @@ export default {
this.logScanDebug('attach-listener-start', { hasWindow, hasDocument })
const targets = []
if (hasWindow) {
targets.push(window)
}
if (hasDocument) {
targets.push(document)
} else if (hasWindow) {
targets.push(window)
}
if (!targets.length) {
this.logScanDebug('attach-listener-failed', { reason: 'no-window-or-document' })