微调
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user