fix(性能测试): 查看报告的时候压力配置图修改

This commit is contained in:
Captain.B 2021-03-12 10:48:27 +08:00
parent 114573a475
commit 2ff611bd58
1 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,7 @@ import MsChart from "@/business/components/common/chart/MsChart";
import {findThreadGroup} from "@/business/components/performance/test/model/ThreadGroup";
const HANDLER = "handler";
const THREAD_GROUP_TYPE = "tgType";
const TARGET_LEVEL = "TargetLevel";
const RAMP_UP = "RampUp";
const STEPS = "Steps";
@ -225,6 +226,9 @@ export default {
case HANDLER:
this.threadGroups[i].handler = item.value;
break;
case THREAD_GROUP_TYPE:
this.threadGroups[i].tgType = item.value;
break;
default:
break;
}