We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这是因为Electron的webContents默认行为类似于浏览器,允许在新窗口中打开链接。
要控制这种行为并防止在新窗口中打开链接,可以考虑监听new-window事件并阻止默认行为。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
原因分析
这是因为Electron的webContents默认行为类似于浏览器,允许在新窗口中打开链接。
解决方案思考
要控制这种行为并防止在新窗口中打开链接,可以考虑监听new-window事件并阻止默认行为。
The text was updated successfully, but these errors were encountered: