下载依赖 npm install 下载json-server模拟后台 npm i json-server -g 启动项目 npm start public目录下启动json-server json-server --watch ./data.json --port 5000