解决keep-alive缓存问题

data () { return { keyword:'', } }, deactivated() { console.log('deactivated'); if (this.keyword !== this.$route.params.key){ this.$destroy() } },
相关文章
相关标签/搜索