Merge branch 'hotfix' of http://192.168.65.198:3000/Front_Team/SPDM into hotfix
This commit is contained in:
@@ -380,7 +380,7 @@ defineExpose({
|
||||
padding-top: 2px;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: var(--el-color-danger);
|
||||
color: var(--el-color-warning);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -451,6 +451,7 @@ const hasRepeatkKeysFun = (data: any) => {
|
||||
const keys: any = [];
|
||||
return data.some((item: any) => {
|
||||
if (keys.includes(item.key)) {
|
||||
console.warn(`【${item.key}】【${item.title}】重复`);
|
||||
return true;
|
||||
}
|
||||
keys.push(item.key);
|
||||
|
||||
Reference in New Issue
Block a user