fix(性能测试): 修复保存并执行后台接口修改导致的bug

This commit is contained in:
Captain.B 2021-08-17 17:30:48 +08:00 committed by 刘瑞斌
parent 7052a666be
commit b979da6b8c
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ export default {
let options = this.getSaveOption(); let options = this.getSaveOption();
this.result = this.$request(options, (response) => { this.result = this.$request(options, (response) => {
this.test.id = response.data; this.test.id = response.data.id;
this.$success(this.$t('commons.save_success')); this.$success(this.$t('commons.save_success'));
this.result = this.$post(this.runPath, {id: this.test.id, triggerMode: 'MANUAL'}, (response) => { this.result = this.$post(this.runPath, {id: this.test.id, triggerMode: 'MANUAL'}, (response) => {
let reportId = response.data; let reportId = response.data;