ReferenceError: ElectronIpcRenderer is not defined
at Proxy.on (bundle.js:2)
at bundle.js:2
at ua (bundle.js:2)
at Al (bundle.js:2)
at t.unstable_runWithPriority (bundle.js:2)
at qr (bundle.js:2)
at Rl (bundle.js:2)
at bundle.js:2
at j (bundle.js:2)
at MessagePort.w.port1.onmessage (bundle.js:2)
我打包后启动的服务,在electron中使用iframe加载出现以下错误
ReferenceError: ElectronIpcRenderer is not defined at Proxy.on (bundle.js:2) at bundle.js:2 at ua (bundle.js:2) at Al (bundle.js:2) at t.unstable_runWithPriority (bundle.js:2) at qr (bundle.js:2) at Rl (bundle.js:2) at bundle.js:2 at j (bundle.js:2) at MessagePort.w.port1.onmessage (bundle.js:2)
我在renderApp已经设置了isElectronRenderer: false。这是哪里还有判断呀!浏览器运行是正常的