fix(测试跟踪): 测试计划关联用例等待问题
--bug=1017666 --user=宋昌昌 【测试计划】关联4000条功能用例,页面卡住了 https://www.tapd.cn/55049933/s/1259695
This commit is contained in:
parent
912f95074b
commit
d54a11912c
|
@ -54,12 +54,12 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
saveCaseRelevance(param, vueObj) {
|
saveCaseRelevance(param, vueObj) {
|
||||||
vueObj.loading = true;
|
vueObj.page.result.loading = true;
|
||||||
if (param.ids.length > 0) {
|
if (param.ids.length > 0) {
|
||||||
param.planId = this.planId;
|
param.planId = this.planId;
|
||||||
testPlanRelevance(param)
|
testPlanRelevance(param)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
vueObj.loading = false;
|
vueObj.page.result.loading = false;
|
||||||
vueObj.isSaving = false;
|
vueObj.isSaving = false;
|
||||||
this.$success(this.$t('commons.save_success'));
|
this.$success(this.$t('commons.save_success'));
|
||||||
vueObj.$refs.baseRelevance.close();
|
vueObj.$refs.baseRelevance.close();
|
||||||
|
@ -69,6 +69,7 @@ export default {
|
||||||
vueObj.isSaving = false;
|
vueObj.isSaving = false;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
vueObj.page.result.loading = false;
|
||||||
vueObj.isSaving = false;
|
vueObj.isSaving = false;
|
||||||
this.$warning(this.$t('test_track.plan_view.please_choose_test_case'));
|
this.$warning(this.$t('test_track.plan_view.please_choose_test_case'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue