【发布时间】:2017-02-19 06:49:17
【问题描述】:
电子另存为对话框给了我一个长 URL 作为标题。
mainWindow.webContents.session.on('will-download', function (event, item, webContents) {
item.on('updated', () => {});
item.on('done', (e, state) => {});
});
我看到了这个:How can I display a Save As dialog in an Electron App?。 但它给了我“项目对象被破坏”。 如果是 post call 如何将数据传递给请求。
【问题讨论】:
标签: javascript electron