fix(接口自动化): 修复测试用例执行结果未更新问题。

This commit is contained in:
fit2-zhao 2021-06-16 16:31:23 +08:00 committed by fit2-zhao
parent a1066414c6
commit d9d38614a8
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@
/>
</template>
<el-container v-loading="result.loading">
<el-container v-if="!result.loading">
<el-main>
<div v-for="(item,index) in apiCaseList" :key="item.id ? item.id : item.uuid">
<api-case-item v-loading="singleLoading && singleRunId === item.id || batchLoadingIds.indexOf(item.id) > -1"
@ -437,7 +437,7 @@ export default {
this.$success(this.$t('commons.save_success'));
}
this.selectdCases = [];
//this.getApiTest();
this.getApiTest();
});
},
}

View File

@ -12,6 +12,7 @@ export default class ThreadGroup extends HashTreeElement {
constructor(options = DEFAULT_OPTIONS) {
super(options);
this.type = TYPE;
this.onSampleError = true;
}
}