解決keep-alive緩存問題

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