浅谈vue项目用到的mock数据接口的两种方式 1.使用devServer.before进行数据mock//通过配置devServer.before选项,设置url访问路径及response响应数 mock数据接口