记录一次a标签<a>+this.$router.push(‘‘)跳转2次的bug
//bug代码
<a :data-category1Id="item.categoryId" href="#" @click="jumpEvents">{{ item.categoryName }}</a>
this.$router.push(localtions)
会出现跳转2次的情况
//第一次
http://localhost:8080/#/search?category3id=165&categoryName=LED%E7%81%AF
//第二次
http://
原创
2021-12-16 14:52:04 ·
935 阅读 ·
0 评论