浏览代码

pda-client bug fix

lizw 3 年之前
父节点
当前提交
f03647bc0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Scope.ts

+ 1 - 1
src/Scope.ts

@@ -227,7 +227,7 @@ export class Scope {
             }
         }
         Ext.Viewport.add(that._handle)
-        if ((window as any).mainWindow === that) {
+        if ((window as any).mainWindow === that || (window as any).loginWindow === that) {
             Scope.SHOW_PAGE_STACK.length = 0
         }
         that._handle.setStyle({'z-index': 1})