diff --git a/src/App.vue b/src/App.vue index 85d833b..04eb49c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,13 +3,5 @@ diff --git a/src/views/FavoriteList.vue b/src/views/FavoriteList.vue index 1629e10..2a8f831 100644 --- a/src/views/FavoriteList.vue +++ b/src/views/FavoriteList.vue @@ -38,9 +38,6 @@ (favMovie) => favMovie.imdbID === movie.imdbID, ) }, - goBack() { - this.$router.push('/') - }, loadAnimation() { lottie.loadAnimation({ container: this.$refs.title, @@ -62,7 +59,7 @@ diff --git a/src/views/MoviesSearch.vue b/src/views/MoviesSearch.vue index 2b3cdb5..254d5e1 100644 --- a/src/views/MoviesSearch.vue +++ b/src/views/MoviesSearch.vue @@ -79,9 +79,6 @@ (favMovie) => favMovie.imdbID === movie.imdbID, ) }, - goToFavorites() { - this.$router.push('/favoritelist') //導到其他頁面 - }, loadAnimation() { lottie.loadAnimation({ container: this.$refs.title, @@ -92,7 +89,6 @@ }) }, }, - computed: {}, } @@ -135,12 +131,12 @@ > Search - +
@@ -207,7 +203,7 @@
-
+