摘要: node读取json文件 一、引入依赖包 const fs = require('fs') const path = require('path') const configFile = path.resolve(__dirname, './config.json') 二、读取文件 /** * 读取 阅读全文
posted @ 2020-03-28 13:29 小旭的blog 阅读(1725) 评论(0) 推荐(0) 编辑