openmoduldialog 关闭 还回值

 //确定
        function getsel() {
            var rtnValue = TreeView.GetValue();
            window.returnValue = rtnValue;
            WinDialogClose();
        }
        //模式窗口关闭
        function WinDialogClose() {
            if (window.dialogArguments) {
                window.close();
            }
        }
原文地址:https://www.cnblogs.com/peaceshow/p/2513642.html