Node.js/nuxt/传值:修订间差异
来自康健生活
创建页面,内容为“== 兄弟传值 == 现在有一个需求是路由跳转页面,然后刷新数据,但是路由地址不变,变的是路由地址后面 query 的参数。 <block…” |
|||
| 第69行: | 第69行: | ||
$route (to, from) { | $route (to, from) { | ||
this.searchPageType = this.$route.query.pageView | this.searchPageType = this.$route.query.pageView | ||
} | } | ||
}, | }, | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||