|
@@ -5240,8 +5240,8 @@ export default {
|
|
|
beforeDestroy() {
|
|
|
clearTimeout(this.timer);
|
|
|
this.timer = null;
|
|
|
- clearInterval(this.timer);
|
|
|
- this.timer = null;
|
|
|
+ clearInterval(this.timer2);
|
|
|
+ this.timer2 = null;
|
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
clearTimeout(this.timer);
|
|
@@ -5259,9 +5259,12 @@ export default {
|
|
|
this.selectEva();
|
|
|
this.loading = false;
|
|
|
this.timer2 = setInterval(() => {
|
|
|
+ this.getTemplate();
|
|
|
+ }, 5000);
|
|
|
+ setTimeout(() => {
|
|
|
this.selectCourseDetail();
|
|
|
this.selectEva();
|
|
|
- }, 5000);
|
|
|
+ }, 500);
|
|
|
},
|
|
|
};
|
|
|
</script>
|