修改PC端登录页
This commit is contained in:
parent
1c948df084
commit
a3040e5c7f
@ -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' })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user