在vue中使用express-mock搭建mock服务的方法 首先安装nodemon,如果是全局安装,那么所有的项目都可以使用mock服务npminstallnodemon再安装ex express-mock