方法1:找到config里的index.js,打开修改assetsPublicPath 为“./” 方法2:把index.html文件中的路径/去掉; 转载于:https://www.cnblogs.com/loveAline/p/10450696.html