摘要: 结果是:http://localhost:8100/#/ 改变为 http://localhost:8100/?#/ 导致路由跳转出现问题。 原因:这里是 form 表单,点击了button 按钮,触发了他的默认事件,就是触发了提交这个行为。 解决方案:使用@click.prevent 阻止默认事件 阅读全文
posted @ 2023-11-14 14:49 shuihanxiao 阅读(23) 评论(0) 推荐(0) 编辑