var cwd = process.cwd(); console.log(cwd); console.log(__dirname); 复制代码. cwd是指当前node命令执行时所在的文件夹目录;
確定! 回上一頁