fix: volume mounts default empty

This commit is contained in:
jialin
2026-04-10 15:33:59 +08:00
committed by jialin
parent 0956538b79
commit cf13e3bed0
@@ -60,7 +60,7 @@ const VolumeMountsForm: React.FC<{ action: PageActionType }> = ({ action }) => {
useEffect(() => {
if (action === PageAction.CREATE) {
form.setFieldValue('k8s_volume_mounts', volumeList);
form.setFieldValue('k8s_volume_mounts', []);
}
}, [action]);