This commit is contained in:
Gdpao
2020-08-01 17:22:46 +08:00
parent 223dd51db7
commit 8a213ba094
7 changed files with 330 additions and 103 deletions

View File

@@ -27,18 +27,12 @@ export default {
data(){
return {
show: true,
cartList: this.list || [],
cartList: [],
}
},
watch: {
list() {
this.cartList = this.list;
}
},
methods: {
toggerList() {
this.show = false;
this.$emit("hideCart",this.show);
}
}
}