我有/index.js的字符串,但没有像c:/xx/xx/index.js这样的带有__filename或__dirname全局变量的完整路径字符串。如何在nodejs中获取完整路径?This is the project OS:Windows 10vscode:1.33.1 console.log(__filename); // /index.jsconsole.log(__dirn
我有如下的HTML: function showModal(msg) { content.innerHTML = msg; }
showModal(msg + "<br>Job started, check status on the project jobs page."); 说了这么多,做了这么多之后,我得到了以下窗