提交 19372d2c 编写于 作者: W wenyann 提交者: 刘瑞斌

fix:用例列表复制后会出现相同的ID

上级 6923eb10
......@@ -29,9 +29,10 @@
</template>
</el-table-column>
<el-table-column
label="ThreadGroup">
:label="$t('load_test.thread_group')">
<template v-slot:default="{row}">
<el-select v-model="row.tgType" :placeholder="$t('commons.please_select')" size="small" @change="tgTypeChange(row)">
<el-select v-model="row.tgType" :placeholder="$t('commons.please_select')" size="small"
@change="tgTypeChange(row)">
<el-option v-for="tg in threadGroupForSelect" :key="tg.tagName" :label="tg.name"
:value="tg.testclass"></el-option>
</el-select>
......@@ -154,13 +155,13 @@ export default {
selectIds: new Set(),
threadGroupForSelect: [
{
name: 'ThreadGroup',
name: this.$t('load_test.thread_group'),
tagName: 'ThreadGroup',
testclass: 'ThreadGroup',
guiclass: 'ThreadGroupGui'
},
{
name: 'ConcurrencyThreadGroup',
name: this.$t('load_test.concurrency_thread_group'),
tagName: 'com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup',
testclass: 'com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup',
guiclass: "com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroupGui"
......
......@@ -470,6 +470,8 @@ export default {
max_users: 'VUs'
},
load_test: {
concurrency_thread_group: 'Concurrent read group',
thread_group: 'ThreadGroup',
completed_test_report: 'Completed test report',
test: 'Test',
name: 'Test Name',
......
......@@ -477,6 +477,8 @@ export default {
max_users: '并发数'
},
load_test: {
concurrency_thread_group: '并发读取组',
thread_group: '线程组',
completed_test_report: '已完成测试报告',
test: '测试',
name: '测试名称',
......
......@@ -468,6 +468,8 @@ export default {
max_users: '並發数'
},
load_test: {
concurrency_thread_group: '併發讀取組',
thread_group: '線程組',
completed_test_report: '已完成的測試報告',
test: '測試',
name: '測試名稱',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册