diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index ca24255..ded64ab 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -363,9 +363,9 @@ export default { }, async created() { - if(this.$route.query.caseId != null && this.$route.query.caseId != undefined) - { || null - this.queue = this.$route.query.queue || null + if(this.$route.query.caseId != null && this.$route.query.caseId != undefined) { + this.caseId = this.$route.query.caseId || null + this.queue = this.$route.query.queue || null await this.getCaseInfoById();//获取详情 } @@ -385,9 +385,9 @@ export default { }) }, beforeDestroy() { - // if(this.timer) { //如果定时器还在运行 或者直接关闭,不用判断 - // clearInterval(this.timer); //关闭 - // } + if(this.timerInterval) { //如果定时器还在运行 或者直接关闭,不用判断 + clearInterval(this.timerInterval); //关闭 + } }, methods: { debtorEntityCardNo(datalist, len) {