Node.js中的文件路径大概有__dirname, __filename, process.cwd(), ./ 或者../,前三个都是绝对路径,为了便于 ... __dirname: 获得当前执行文件所在目录的完整目录名.
確定! 回上一頁