* @description 关闭子窗口
()
| 3663 | * @description 关闭子窗口 |
| 3664 | */ |
| 3665 | function handleCloseWin() { |
| 3666 | try { |
| 3667 | window.opener = window; |
| 3668 | const win = window.open('', '_self'); |
| 3669 | win?.close(); |
| 3670 | top?.close(); |
| 3671 | } |
| 3672 | catch (e) { } |
| 3673 | } |
| 3674 | /** |
| 3675 | * @description 等待窗口关闭 |
| 3676 | * @param newPage |
no outgoing calls
no test coverage detected