// 检查项目名称 const projectOptions = [ { id: 1, value: "纤度偏差" }, { id: 2, value: "二次变化" }, { id: 3, value: "清洁分" }, { id: 4, value: "洁净分" }, { id: 5, value: "最大偏差" } ] export const getDataByType = (type) => { if (type == "projectOptions") { return projectOptions } }