chenxiong 3 yıl önce
ebeveyn
işleme
726a0c9e51
2 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 1 1
      pages2/learn/my_learn.vue
  2. 2 0
      pages3/polyv/detail.vue

+ 1 - 1
pages2/learn/my_learn.vue

@@ -23,7 +23,7 @@
 										? '机构审核通过'
 										: item.periodStatus === 2
 										? '等待审核'
-										: item.periodStatus === 3
+										: item.periodStatus === 0
 										? '机构审核不通过'
 										: ''
 								}}

+ 2 - 0
pages3/polyv/detail.vue

@@ -1413,11 +1413,13 @@ export default {
 				this.timer = setInterval(this.timeEvent, 1000); //定时器
 			}
 			if (newstate.detail.newstate == 'pause') {
+				clearInterval(this.timer);
 				//暂停提交记录
 				/* this.ossAvatarUrl = ""
 				this.postStudyRecord() */
 			}
 			if (newstate.detail.newstate == 'ended') {
+				clearInterval(this.timer);
 				uni.showToast({
 					icon:'none',
 					title:'播放完毕'