Commit 94e51199 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 4580d70b
......@@ -58,7 +58,8 @@
pm.getPlayletInfo().then(res => {
this.albumId = res.albumId
this.seq = res.seq
this.episodeId = res.episodeId
this.episodeId = res.episodeId
this.loadAdSwitch()
});
this.pm = pm;
......@@ -219,7 +220,7 @@
console.log("playerBeforeMount");
},
mounted() {
this.loadAdSwitch()
this.getShowShortcut()
console.log("playerMounted");
},
......@@ -263,7 +264,10 @@
loadAdSwitch() {
let that = this
common.methods.post({
url: '/vedio/confs',
url: '/vedio/confs',
data: {
albumId: this.albumId
},
showLoading: false,
success: ({
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