提交 7e6cbb12 编写于 作者: guangjun.yang's avatar guangjun.yang

新的日志

上级 0e21eeb6
...@@ -807,7 +807,9 @@ export default { ...@@ -807,7 +807,9 @@ export default {
console.log('getProjectInfoById', param); console.log('getProjectInfoById', param);
_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 => {
_this.showLoading = false;
if (res.code == "000000") { if (res.code == "000000") {
console.log(111111);
if(videoUrl) { if(videoUrl) {
_this.limitTimes = this.$route.query.trySeeTime || 300000; _this.limitTimes = this.$route.query.trySeeTime || 300000;
_this.videoOptions.mp4 = videoUrl; _this.videoOptions.mp4 = videoUrl;
...@@ -817,6 +819,7 @@ export default { ...@@ -817,6 +819,7 @@ export default {
_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;
} }
console.log(222222);
_this.hasBindCard = res.data.cardStatus == 0 ? false : true; _this.hasBindCard = res.data.cardStatus == 0 ? false : true;
if(_this.hasBindCard) { if(_this.hasBindCard) {
_this.videoOptions.trySeeTime = 300000; _this.videoOptions.trySeeTime = 300000;
...@@ -825,6 +828,7 @@ export default { ...@@ -825,6 +828,7 @@ export default {
} else { } else {
_this.hasNoUsedCard(); _this.hasNoUsedCard();
} }
console.log(33333);
let mp4Url = _this.videoOptions.mp4; let mp4Url = _this.videoOptions.mp4;
// 判断是否是mp4 // 判断是否是mp4
if(mp4Url.lastIndexOf('.mp4') > 0) { if(mp4Url.lastIndexOf('.mp4') > 0) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册