Commit e27b3549 by cen

fix: 活动中心

1 parent 1830e006
...@@ -139,7 +139,7 @@ import ExamSubmitPopup from '@/components/ExamSubmitPopup.vue' ...@@ -139,7 +139,7 @@ import ExamSubmitPopup from '@/components/ExamSubmitPopup.vue'
import StudyCenterPermissionPopup from '@/components/StudyCenterPermissionPopup.vue' import StudyCenterPermissionPopup from '@/components/StudyCenterPermissionPopup.vue'
export default { export default {
mixins: [recorder, uploader, timeout, versionCheck, merge, interceptionMixin], mixins: [recorder, uploader, timeout, versionCheck, merge, interceptionMixin],
components: { ReceptionCenter, StudyCenter, SceneMarket, LeftSide, Point, dayPoint, rulePoint, Course, Ranking, LevelPoint, Calendar, Promotion, History, LevelMedal, MessageDetail, SwiperComponent, MessageIndex, Entrance, StudyPopup, StudyPopupContent, ExamSubmitPopup, StudyCenterPermissionPopup }, components: { ReceptionCenter, StudyCenter, SceneMarket, LeftSide, Point, dayPoint, rulePoint, Course, Ranking, LevelPoint, Calendar, Promotion, History, LevelMedal, MessageDetail, SwiperComponent, MessageIndex, Entrance, StudyPopup, StudyPopupContent, ExamSubmitPopup, StudyCenterPermissionPopup, ActivityCenter },
props: { props: {
id: [String, Number], id: [String, Number],
finishDoneText: String, finishDoneText: String,
...@@ -194,7 +194,7 @@ export default { ...@@ -194,7 +194,7 @@ export default {
// console.log('接收到考试提交弹窗事件') // console.log('接收到考试提交弹窗事件')
// this.showExamPopup = true // this.showExamPopup = true
// }) // })
uni.$on('showStudyPopup', (obj) => { uni.$on('showStudyPopup', obj => {
console.log('接收到学习弹窗事件', obj) console.log('接收到学习弹窗事件', obj)
if (obj.type === 'examSubmit') { if (obj.type === 'examSubmit') {
this.showExamPopup = true this.showExamPopup = true
...@@ -202,7 +202,6 @@ export default { ...@@ -202,7 +202,6 @@ export default {
// 查询是否有等级考试 // 查询是否有等级考试
this.getLevelExamInfo() this.getLevelExamInfo()
} }
}) })
}, },
beforeDestroy() { beforeDestroy() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!