浏览代码

showDialog in frame

luoyifan 4 年之前
父节点
当前提交
58479b5b84
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/Scope.ts

+ 4 - 0
src/Scope.ts

@@ -94,6 +94,10 @@ export class Scope {
         }, vjsonOption, that.vjson, windows)
 
         const win = new Ext.Window(config);
+        const holder = sender?.lookupReferenceHolder()
+        if (holder) {
+            holder.add(win)
+        }
         win.show();
     }