gdpao
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user