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

This commit is contained in:
hanhh 2021-08-17 22:31:39 +08:00
parent 82a4485792
commit ff481ef7f3

View File

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