<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>Hello World!</title> </head> <body> <h1>Hello World!</h1> <!-- All of the Node.js APIs are available in this renderer process. --> We are using node <script>document.write(process.versions.node)</script>, Chromium <script>document.write(process.versions.chrome)</script>, and Electron <script>document.write(process.versions.electron)</script>. <button onclick="">打开word</button> </body></html>页面点击按钮打开应用文件夹中的test.doc文件,用默认应用打开shell.openItem(fullPath)路径总是不对 我该怎么写路径
添加回答
举报
0/150
提交
取消