|
@ -10,7 +10,7 @@ export default defineComponent({ |
|
|
}, |
|
|
}, |
|
|
unmounted() { |
|
|
unmounted() { |
|
|
if (this.movies.length > 0) { |
|
|
if (this.movies.length > 0) { |
|
|
this.$store.commit(Mutation.FreeMovies, this.movies); |
|
|
|
|
|
|
|
|
this.$store.dispatch(Action.UpdateMovies, { newValue: [], oldValue: this.movies }); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
props: { |
|
|
props: { |
|
|