测试用例查询关联测试添加loading

This commit is contained in:
shiziyuan9527 2020-07-13 16:23:07 +08:00
parent faad7895e9
commit b2d036a81b
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@
getTestOptions() { getTestOptions() {
this.testOptions = []; this.testOptions = [];
if (this.currentProject && this.form.type != '' && this.form.type != 'functional') { if (this.currentProject && this.form.type != '' && this.form.type != 'functional') {
this.$get('/' + this.form.type + '/list/' + this.currentProject.id, response => { this.result = this.$get('/' + this.form.type + '/list/' + this.currentProject.id, response => {
this.testOptions = response.data; this.testOptions = response.data;
}); });
} }