|
|
|
@ -73,13 +73,16 @@ |
|
|
|
|
index: 3 |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
setTimeout((res)=>{ |
|
|
|
|
if(this.showTemplateTwo){ |
|
|
|
|
this.$refs.classTwo.getCartNum() |
|
|
|
|
}else if(this.showTemplateThree){ |
|
|
|
|
this.$refs.classThree.getCartNum() |
|
|
|
|
} |
|
|
|
|
},100) |
|
|
|
|
if (this.isLogin) { |
|
|
|
|
setTimeout((res)=>{ |
|
|
|
|
if(this.showTemplateTwo){ |
|
|
|
|
this.$refs.classTwo.getCartNum() |
|
|
|
|
}else if(this.showTemplateThree){ |
|
|
|
|
this.$refs.classThree.getCartNum() |
|
|
|
|
} |
|
|
|
|
},100) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|