直接上结论:__dirname表示当前文件所在的目录的绝对路径__filename表示当前文件的绝对路径module.filename====__filename等价process.cwd()返回运行 ...
確定! 回上一頁