fix: env params incorrect after switching between vendors

This commit is contained in:
jialin
2026-02-07 16:51:09 +08:00
parent 3c5b095510
commit 21ffd2a564
8 changed files with 24 additions and 15 deletions
@@ -20,7 +20,7 @@ const SelectVendor: React.FC<AddWorkerStepProps> = ({ disabled }) => {
);
const handleSelectProvider = (value: string, item: any) => {
console.log('selected gpu driver:', value, item);
if (value === currentGPU) return;
setCurrentGPU(value);
updateField('currentGPU', value);