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

测试代码

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