fix: gpu selector same value

This commit is contained in:
jialin
2024-09-12 10:08:53 +08:00
parent 7f2f3ea664
commit 8c7970746f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
return {
...item,
label: item.name,
value: item.name
value: `${item.worker_name}-${item.name}-${item.index}`
};
});
setGpuOptions(list);
+1
View File
@@ -14,6 +14,7 @@
.info {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
color: var(--ant-color-text-tertiary);
}