提交 18c5a4d9 编写于 作者: guangjun.yang's avatar guangjun.yang

设置时间问题

上级 2a5fc554
...@@ -737,16 +737,16 @@ export default { ...@@ -737,16 +737,16 @@ export default {
_this.showLoading = true; _this.showLoading = true;
this.NEW_GET(`cme/project/${_this.projectId}/info`, param).then(res => { this.NEW_GET(`cme/project/${_this.projectId}/info`, param).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
_this.hasBindCard = res.data.cardStatus == 0 ? false : true;
_this.limitTimes = res.data.trySeeTime;
if(videoUrl) { if(videoUrl) {
_this.limitTimes = this.$route.query.trySeeTime || 300000;
_this.videoOptions.mp4 = videoUrl; _this.videoOptions.mp4 = videoUrl;
this.limitTimes = this.$route.query.trySeeTime || 300000;
_this.videoOptions.trySeeTime = this.$route.query.trySeeTime || 300000; _this.videoOptions.trySeeTime = this.$route.query.trySeeTime || 300000;
} else { } else {
_this.limitTimes = res.data.trySeeTime;
_this.videoOptions.mp4 = res.data.attachmentUrl; _this.videoOptions.mp4 = res.data.attachmentUrl;
_this.videoOptions.trySeeTime = res.data.trySeeTime || 300000; _this.videoOptions.trySeeTime = res.data.trySeeTime || 300000;
} }
_this.hasBindCard = res.data.cardStatus == 0 ? false : true;
if(_this.hasBindCard) { if(_this.hasBindCard) {
_this.videoOptions.trySeeTime = 300000; _this.videoOptions.trySeeTime = 300000;
_this.videoOptions.autoplay = false; _this.videoOptions.autoplay = false;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册