|
@@ -489,17 +489,19 @@ export default {
|
|
|
if (this.$method.isLogin()) {
|
|
|
//已登录
|
|
|
this.editShareActivityCode()
|
|
|
+ this.getIsBuy(); // 判断是否已经购买过该课程
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
this.getDetail();
|
|
|
this.goodsCourseList();
|
|
|
this.appCommonGoodsCourseModuleFreeExamList();
|
|
|
- this.getIsBuy(); // 判断是否已经购买过该课程
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
wx.showShareMenu({
|
|
|
withShareTicket: true,
|
|
|
menus: ["shareAppMessage", "shareTimeline"],
|
|
|
});
|
|
|
+ // #endif
|
|
|
},
|
|
|
onUnload(option) {
|
|
|
this.$store.commit("setPlaySectionId", { playSectionId: 0 });
|