@ -101,7 +101,7 @@ export default {
};
},
computed: {
...mapState(["cartProducts"]),
...mapState(["cartProducts", "token"]),
watch: {
cartProducts: {
@ -126,7 +126,9 @@ export default {
created() {
if (this.token) {
this.$store.dispatch("getCartProducts");
}
methods: {
onJumpCart() {