提交 1877a1f3 编写于 作者: guangjun.yang's avatar guangjun.yang

未绑定有学习

上级 e504cdbe
......@@ -737,9 +737,11 @@ export default {
this.NEW_GET(`cme/project/${_this.projectId}/info`, param).then(res => {
if (res.code == "000000") {
_this.hasBindCard = res.data.cardStatus == 0 ? false : true;
_this.limitTimes = res.data.trySeeTime;
if(videoUrl) {
_this.videoOptions.mp4 = videoUrl;
this.limitTimes = this.$route.query.trySeeTime || 300000;
_this.videoOptions.trySeeTime = this.$route.query.trySeeTime || 300000;
} else {
_this.videoOptions.mp4 = res.data.attachmentUrl;
_this.videoOptions.trySeeTime = res.data.trySeeTime || 300000;
......@@ -813,7 +815,8 @@ export default {
intorOffsetTop
);
// 直接跳转
if (_this.project.jumpToContents) {
// if (_this.project.jumpToContents) {
if (_this.hasBindCard) {
setTimeout(() => {
this.jumpCatalogue();
}, 200);
......@@ -825,7 +828,6 @@ export default {
}, 800);
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
_this.limitTimes = res.data.trySeeTime;
if (!_this.hasBindCard) {
_this.preJumper();
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册