更改config->index.js:module.exports={ dev:{host:'localhost'} } 转载于:https://www.cnblogs.com/wssdx/p/9778604.html