Compare commits

...

2 Commits

  1. 2
      src/views/class/play.vue
  2. 6
      src/views/video/play.vue

2
src/views/class/play.vue

@ -321,7 +321,7 @@ export default {
// id // id
state.logid = res.data.logid; state.logid = res.data.logid;
state.videoid = res.data.id; state.videoid = res.data.id;
console.log("log_videoid", state.videoid); // console.log("log_videoid", state.videoid);
// //
let winState = { url: id }; let winState = { url: id };

6
src/views/video/play.vue

@ -203,7 +203,7 @@ export default {
state.play_title = res.data.it618_name; state.play_title = res.data.it618_name;
state.videoObject.video = res.data.it618_videourl; state.videoObject.video = res.data.it618_videourl;
console.log("res.data", res.data); // console.log("res.data", res.data);
if (res.data.playtime > 0) { if (res.data.playtime > 0) {
state.videoObject.seek = res.data.playtime; state.videoObject.seek = res.data.playtime;
@ -281,7 +281,7 @@ export default {
// //
state.pointTimer++; state.pointTimer++;
console.log(state.pointTimer); // console.log(state.pointTimer);
if (state.pointTimer == 5) { if (state.pointTimer == 5) {
state.pointTimer = 0; state.pointTimer = 0;
let log2Param = { let log2Param = {
@ -326,7 +326,7 @@ export default {
// id // id
state.logid = res.data.logid; state.logid = res.data.logid;
state.videoid = res.data.id; state.videoid = res.data.id;
console.log("log_videoid", state.videoid); // console.log("log_videoid", state.videoid);
// //
let winState = { url: id }; let winState = { url: id };

Loading…
Cancel
Save