1.第一步 修改配置项
修改配置项 将 config/index.js 中的assetsPublicpath:"/" 修改为 assetsPublicpath:"./"
2.第二步 打包
npm run build
3.第三步
直接将打包后的 dist 文件夹 给后端即可