修改PC端登录页
This commit is contained in:
parent
1c948df084
commit
a3040e5c7f
@ -591,11 +591,10 @@ export default {
|
|||||||
this.logScanDebug('attach-listener-start', { hasWindow, hasDocument })
|
this.logScanDebug('attach-listener-start', { hasWindow, hasDocument })
|
||||||
|
|
||||||
const targets = []
|
const targets = []
|
||||||
if (hasWindow) {
|
|
||||||
targets.push(window)
|
|
||||||
}
|
|
||||||
if (hasDocument) {
|
if (hasDocument) {
|
||||||
targets.push(document)
|
targets.push(document)
|
||||||
|
} else if (hasWindow) {
|
||||||
|
targets.push(window)
|
||||||
}
|
}
|
||||||
if (!targets.length) {
|
if (!targets.length) {
|
||||||
this.logScanDebug('attach-listener-failed', { reason: 'no-window-or-document' })
|
this.logScanDebug('attach-listener-failed', { reason: 'no-window-or-document' })
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user