Vue 嵌套App中, 需要返回,尝试了各种返回方法,但是都是没有用途。经过多方查询,终于找到了有效的方式:
使用replace替代url,代码如下:
this.$router.replace('/subjectIntro');
Vue 嵌套App中, 需要返回,尝试了各种返回方法,但是都是没有用途。经过多方查询,终于找到了有效的方式:
使用replace替代url,代码如下:
this.$router.replace('/subjectIntro');
本文标题:Vue 嵌套在APP中, route 返回无效解决方案
本文链接:https://www.haomeiwen.com/subject/rrfgyktx.html
网友评论