修复未勾选拆分环境变量参数验证失败

This commit is contained in:
hanhh 2021-08-17 22:31:39 +08:00
parent 89e82fd5b0
commit b29dd2c580

View File

@ -31,7 +31,7 @@ const EnvModal = ({
};
});
} else {
payload = [values];
payload = [{ value, name, remarks }];
}
} else {
payload = { ...values, _id: env._id };