1.vue.config.js中设置
module.exports = { publicPath: './' }
src/router.js中,干掉mode
2.export default new Router({
// mode: 'history'
)}