提交 714f17e6 编写于 作者: guangjun.yang's avatar guangjun.yang

loading的时间短一点

上级 e0dac24d
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
setTimeout(() => { setTimeout(() => {
this.showLoading = false; this.showLoading = false;
}, 800); }, 100);
//获取底部卡信息 //获取底部卡信息
// 如果 bindStatus 为false,则获取卡信息 0:未绑卡 1:已绑卡 // 如果 bindStatus 为false,则获取卡信息 0:未绑卡 1:已绑卡
if (!this.bindStatus) { if (!this.bindStatus) {
......
...@@ -310,15 +310,17 @@ export default { ...@@ -310,15 +310,17 @@ export default {
if(isFirst) { if(isFirst) {
this.$store.commit("SET_QUESTION_LIST", []); this.$store.commit("SET_QUESTION_LIST", []);
} }
this.showLoading = true;
this.queryParams.token = this.userInfo.userToken || this.token; this.queryParams.token = this.userInfo.userToken || this.token;
this.queryParams.setEntry = true; this.queryParams.setEntry = true;
this.GET(`portal/titleTest/practise/titles`, this.queryParams).then( this.GET(`portal/titleTest/practise/titles`, this.queryParams).then(({ data }) => {
({ data }) => { this.currentTitleNo = data.currentTitleNo;
this.currentTitleNo = data.currentTitleNo; data.isFirst = isFirst;
data.isFirst = isFirst; this.handlerQuestionList(data);
this.handlerQuestionList(data); setTimeout(() => {
} this.showLoading = false;
); }, 100);
});
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册