fix: gpu selector same value
This commit is contained in:
@@ -52,7 +52,7 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
|
|||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
label: item.name,
|
label: item.name,
|
||||||
value: item.name
|
value: `${item.worker_name}-${item.name}-${item.index}`
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
setGpuOptions(list);
|
setGpuOptions(list);
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
.info {
|
.info {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
color: var(--ant-color-text-tertiary);
|
color: var(--ant-color-text-tertiary);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user