Commit 94e51199 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 4580d70b
...@@ -58,7 +58,8 @@ ...@@ -58,7 +58,8 @@
pm.getPlayletInfo().then(res => { pm.getPlayletInfo().then(res => {
this.albumId = res.albumId this.albumId = res.albumId
this.seq = res.seq this.seq = res.seq
this.episodeId = res.episodeId this.episodeId = res.episodeId
this.loadAdSwitch()
}); });
this.pm = pm; this.pm = pm;
...@@ -219,7 +220,7 @@ ...@@ -219,7 +220,7 @@
console.log("playerBeforeMount"); console.log("playerBeforeMount");
}, },
mounted() { mounted() {
this.loadAdSwitch()
this.getShowShortcut() this.getShowShortcut()
console.log("playerMounted"); console.log("playerMounted");
}, },
...@@ -263,7 +264,10 @@ ...@@ -263,7 +264,10 @@
loadAdSwitch() { loadAdSwitch() {
let that = this let that = this
common.methods.post({ common.methods.post({
url: '/vedio/confs', url: '/vedio/confs',
data: {
albumId: this.albumId
},
showLoading: false, showLoading: false,
success: ({ success: ({
data data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment