electron 文件另存为命令

1 let filePath =  ""  // 需要复制文件的路径
2  win.webContents.downloadURL(filePath) // 执行保存命令

 

posted @ 2019-11-07 11:01  雁字回头月满西楼  阅读(1763)  评论(0编辑  收藏  举报