src/views/personalCenter/myCollection.vue
@@ -84,7 +84,7 @@ count: 0, loading: false, }); let linkType = ref("FavoriteTextBooks"); let linkType = ref("FavoriteBookCity"); const tabCart = (event: Event) => { pages.page = 1; @@ -92,7 +92,7 @@ collectList.value = []; currentCollect.value = event.props.name; if (currentCollect.value == "textBooks") { linkType.value = "FavoriteTextBooks"; linkType.value = "FavoriteBookCity"; } getDataList(); };