perf: import mockXHR only in production (#2910)
perf: import mockXHR only in production (#2910)

* 自动排除mock

生产环境，使用webpack的条件编译自动排除mock数据

* perf: refine

Co-authored-by: 花裤衩 <7949b6edbed587180f5260ad080c83dbb4b8af86@gmail.com>

PanJiaChen/vue-element-admin,PanJiaChen/vue-element-admin