提交 4e0b92ff 编写于 作者: guangjun.yang's avatar guangjun.yang

测试代码

上级 7e6cbb12
...@@ -390,11 +390,11 @@ export default { ...@@ -390,11 +390,11 @@ export default {
}, },
// 查询是否买过类似的卡,但还没有绑定 // 查询是否买过类似的卡,但还没有绑定
hasNoUsedCard() { async hasNoUsedCardAction() {
let param = { let param = {
setEntry: true setEntry: true
}; };
this.GET(`cme/projectCard/queryNoUsedCard/3`, param).then(({ data }) => { await this.GET(`cme/projectCard/queryNoUsedCard/3`, param).then(({ data }) => {
this.hasNoUsedCard = data.hasNoUsedCard; this.hasNoUsedCard = data.hasNoUsedCard;
if (data.hasNoUsedCard == 1) { if (data.hasNoUsedCard == 1) {
this.cmeCardModels = data.cmeCardModels[0] || {}; this.cmeCardModels = data.cmeCardModels[0] || {};
...@@ -807,7 +807,7 @@ export default { ...@@ -807,7 +807,7 @@ 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; // _this.showLoading = false;
if (res.code == "000000") { if (res.code == "000000") {
console.log(111111); console.log(111111);
if(videoUrl) { if(videoUrl) {
...@@ -826,7 +826,7 @@ export default { ...@@ -826,7 +826,7 @@ export default {
_this.videoOptions.autoplay = false; _this.videoOptions.autoplay = false;
// 如果没有绑定卡,则查询是否有未绑定的卡 // 如果没有绑定卡,则查询是否有未绑定的卡
} else { } else {
_this.hasNoUsedCard(); _this.hasNoUsedCardAction();
} }
console.log(33333); console.log(33333);
let mp4Url = _this.videoOptions.mp4; let mp4Url = _this.videoOptions.mp4;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册