webPreferences: { nodeIntegration: true, // 官网似乎说是默认false,但是这里必须设置contextIsolation contextIsolation: false } 、、上面的不要他妈的写错了,一定要复制过去,vscode他妈的不提示错误
标签:v23.1,contextIsolation,false,defined,require,electron From: https://www.cnblogs.com/HuangLiming/p/17207305.html