This commit is contained in:
rakesh 2022-02-11 13:47:53 +05:30
parent ccc0c77a54
commit baa64dab9d
2 changed files with 14 additions and 9 deletions

View File

@ -1 +1 @@
{"branch_name":"beta","last_commit_date":"2022-02-11T07:31:45.000Z","last_commit_author":"anjujangid","last_commit_hash":"66e790b4c9a8e1c1bbeecd26f05563fa626c2e69"} {"branch_name":"beta","last_commit_date":"2022-02-11T07:53:18.000Z","last_commit_author":"rakesh","last_commit_hash":"ccc0c77a544f15e6723dedb42cbb85cf80578049"}

View File

@ -111,9 +111,9 @@
<v-col cols="12" sm="12" md="6" lg="3"> <v-col cols="12" sm="12" md="6" lg="3">
<v-hover v-slot:default="{ hover }"> <v-hover v-slot:default="{ hover }">
<router-link <router-link
target="_blank"
class="text-decoration-none" class="text-decoration-none"
:to="{ name: '' }" :to="{ name: 'CartProducts' }"
> >
<v-btn <v-btn
:class="hover ? 'white--text primary' : 'primary--text'" :class="hover ? 'white--text primary' : 'primary--text'"
@ -244,17 +244,22 @@ export default {
orderlistApi() { orderlistApi() {
if(this.customerId && this.customerId.id) if(this.customerId && this.customerId.id)
{ {
debugger
this.$store.dispatch("orderlist/fetchOrderList",this.customerId.id); this.$store.dispatch("orderlist/fetchOrderList",this.customerId.id);
} }
}, },
}, },
watch: watch:
{ {
customerId() customerId()
{ {
debugger
this.orderlistApi();
}
},
created()
{
this.orderlistApi(); this.orderlistApi();
}
} }
}; };