fix: set submitloading as false in catch

This commit is contained in:
jialin
2025-12-26 09:48:10 +08:00
parent 1b4d335b09
commit febdd38f7c
@@ -164,6 +164,7 @@ const ClusterCreate = () => {
setCurrentStep((prev) => Math.min(prev + 1, steps.length - 1)); setCurrentStep((prev) => Math.min(prev + 1, steps.length - 1));
} }
} catch (error) { } catch (error) {
setSubmitLoading(false);
console.log('next error:', error); console.log('next error:', error);
} }
}; };