iview mock main.js main.js // 实际打包时应该不引入mock /* eslint-disable */ // if (process.env.NODE_ENV !== 'production') require('@/mock') require('@/mock')