监听并更新收藏及源列表

This commit is contained in:
haiyangcui
2020-10-26 16:19:48 +01:00
parent 19071faf70
commit 005bdf7ea6

View File

@@ -126,6 +126,12 @@ export default {
}
}
},
watch: {
view () {
this.getAllsites()
this.getFavorites()
}
},
methods: {
...mapMutations(['SET_VIEW', 'SET_DETAIL', 'SET_VIDEO', 'SET_SHARE']),
handleSortChange (column, prop, order) {