publicPath: “./”,router.js注释掉mode:“history”在main.js加上 //部署环境(开发的时候注释掉) axios.defaults.baseURL = 'http://9.0.8.108:8080'