修改 /config/index.js 文件如下:
proxyTable: { '/api': { target: 'http://chifan.local', changeOrigin: true, pathRewrite: { '^/api': '' } }},