8000 当开启ESM并且关闭contextIsolation时electronAPI的内容是无效的 · Issue #22 · alex8088/electron-toolkit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

当开启ESM并且关闭contextIsolation时electronAPI的内容是无效的 #22

New issue

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

Open
4 tasks done
haohetao opened this issue Mar 19, 2025 · 0 comments
Open
4 tasks done

Comments

@haohetao
Copy link
haohetao commented Mar 19, 2025

Describe the bug

···
window.electron = electronAPI
console.log(electronAPI)
···
Image

Electron-Toolkit Version

3.0.0

Electron Version

34.2.0

Validations

问题原因分析:
electron/electron#46142
https://blog.hetao.me/2025/03/19/electron%e4%bd%bf%e7%94%a8esm%e7%9a%84%e5%9d%91/

@haohetao haohetao added the bug Something isn't working label Mar 19, 2025
@alex8088 alex8088 removed the bug Something isn't working label Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0