This commit is contained in:
sjl
2024-12-13 16:35:27 +08:00
parent 8bd5351d29
commit 0db5fa650f
16 changed files with 480 additions and 339 deletions

View File

@@ -123,17 +123,17 @@ const columns = reactive<ColumnProps<any>[]>([
},
{type: 'index', fixed: 'left', width: 70, label: '序号'},
{
prop: 'sourceParamType',
prop: 'type',
label: '参数类型',
minWidth: 180,
},
{
prop: 'sourceParamDesc',
prop: 'desc',
label: '参数描述',
minWidth: 220,
},
{
prop: 'sourceParamValue',
prop: 'value',
label: '值',
minWidth: 150,
},
@@ -193,7 +193,7 @@ const copyRow = (row) => {
}
const getParameter = (data: TestSource.ParameterType) => {
if (originalParameterArr.some(item => item.sourceParamType == data.sourceParamType)) {
if (originalParameterArr.some(item => item.type == data.type)) {
ElMessage.error({message: '参数类型已存在!'})
return;
}