测试用例查询关联测试添加loading
This commit is contained in:
parent
faad7895e9
commit
b2d036a81b
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue