1

parent 274c17d8
...@@ -116,6 +116,7 @@ export const validateForm = (formData, requiredFields, type) => { ...@@ -116,6 +116,7 @@ export const validateForm = (formData, requiredFields, type) => {
}); });
return false; return false;
} }
} else if (fieldValue === null || fieldValue === undefined) { } else if (fieldValue === null || fieldValue === undefined) {
// const title = fieldMapping[field] || (type === "post" ? "岗位信息" : "表单"); // const title = fieldMapping[field] || (type === "post" ? "岗位信息" : "表单");
const title = fieldMapping[field] || (type === "post" ? "相关信息" : "相关信息"); const title = fieldMapping[field] || (type === "post" ? "相关信息" : "相关信息");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment