报错: 报错原因: 设置mode:history 解决方法: 将router的mode设置为‘hash'就不报错了 原因下次再分析? 转载于:https://juejin.im/post/5cce4652e51d453aba2be83a