wangguoyu 9 месяцев назад
Родитель
Сommit
08da99d189
2 измененных файлов с 7 добавлено и 5 удалено
  1. 6 4
      components/questionJiexi/questionJiexi.vue
  2. 1 1
      pages/study/lookShipin.vue

+ 6 - 4
components/questionJiexi/questionJiexi.vue

@@ -83,8 +83,10 @@
 				})
 			},
 			markersClick(data) {
-				console.log(data)
-				this.seekTime = data.offset
+				this.seekTime = ""
+				this.$nextTick(() => {
+					this.seekTime = data.offset
+				});
 			},
 
 
@@ -130,10 +132,10 @@
 				}
 			},
 			hideFlagFun(newValue, oldValue, ownerInstance, instance) {
-				if(this.player){
+				if (this.player) {
 					this.player.pause()
 				}
-				
+
 			},
 			progressMarkersMsg(newValue, oldValue, ownerInstance, instance) {
 				if (newValue) {

+ 1 - 1
pages/study/lookShipin.vue

@@ -180,7 +180,7 @@
 					//	url: `/pages/study/index?xueqi=${data.activeXueqi}&nianji=${data.activeNianji}&flag=selectGrades`
 					url: `/pages/study/index`
 
-				})
+				}) 
 			}
 
 		},