工艺:渲染器. 下面给出了一个从独立的预加载脚本向渲染器暴露API的例子。 // Preload (Isolated World) const { contextBridge, ipcRenderer } = require('electron') ...
確定! 回上一頁