fix(性能测试): --bug=1007382 --user=刘瑞斌 【性能测试】执行提示参数不能为空,但是都填写了 https://www.tapd.cn/55049933/s/1060870
This commit is contained in:
parent
7fc0ce913b
commit
b454e625f9
|
@ -223,7 +223,6 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import echarts from "echarts";
|
||||
import MsChart from "@/business/components/common/chart/MsChart";
|
||||
import {findThreadGroup} from "@/business/components/performance/test/model/ThreadGroup";
|
||||
import {hasPermission} from "@/common/js/utils";
|
||||
|
@ -594,6 +593,9 @@ export default {
|
|||
}
|
||||
for (let i = 0; i < this.threadGroups.length; i++) {
|
||||
let tg = this.threadGroups[i];
|
||||
if (tg.enabled === 'false' ) {
|
||||
continue;
|
||||
}
|
||||
tg.durationHours = tg.durationHours || 0;
|
||||
tg.durationMinutes = tg.durationMinutes || 0;
|
||||
tg.durationSeconds = tg.durationSeconds || 0;
|
||||
|
|
Loading…
Reference in New Issue